public interface ImageExportable
| Modifier and Type | Method and Description |
|---|---|
void |
writeImage(java.io.OutputStream stream,
java.lang.String format)
Write an image to the specified output stream in the specified format.
|
void writeImage(java.io.OutputStream stream, java.lang.String format) throws java.awt.print.PrinterException, java.io.IOException
stream - The output stream to write to.format - The image format to generate.java.io.IOException - If writing to the stream fails.java.awt.print.PrinterException - If the specified format is not supported.