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, toWSOrCommaSeparatedArray
public javax.swing.filechooser.FileFilter getFileFilter()
InputFormat
getFileFilter
in interface InputFormat
getFileFilter
in class SVGInputFormat
public void read(java.io.InputStream in, Drawing drawing, boolean replace) throws java.io.IOException
SVGInputFormat
read
in interface InputFormat
read
in class SVGInputFormat
in
- 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