public class SVGZInputFormat extends SVGInputFormat
| Constructor and Description |
|---|
SVGZInputFormat()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.filechooser.FileFilter |
getFileFilter()
Return a FileFilter that can be used to identify files which can be read
with this input format.
|
void |
read(java.io.InputStream in,
Drawing drawing,
boolean replace)
This is the main reading method.
|
getInputFormatAccessory, isDataFlavorSupported, read, read, read, read, read, read, toCommaSeparatedArray, toQuotedAndCommaSeparatedArray, toTransform, toWSOrCommaSeparatedArraypublic javax.swing.filechooser.FileFilter getFileFilter()
InputFormatgetFileFilter in interface InputFormatgetFileFilter in class SVGInputFormatpublic void read(java.io.InputStream in,
Drawing drawing,
boolean replace)
throws java.io.IOException
SVGInputFormatread in interface InputFormatread in class SVGInputFormatin - The input stream.drawing - The drawing to which this method adds figures.replace - Whether attributes on the drawing object
should by changed by this method. Set this to false, when reading individual
images from the clipboard.java.io.IOException