|
JHotDraw 7.5.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.samples.svg.io.SVGInputFormat
org.jhotdraw.samples.svg.io.SVGZInputFormat
public class SVGZInputFormat
SVGZInputFormat supports reading of uncompressed and compressed SVG images.
Constructor Summary | |
---|---|
SVGZInputFormat()
Creates a new instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jhotdraw.samples.svg.io.SVGInputFormat |
---|
getInputFormatAccessory, isDataFlavorSupported, read, read, read, read, read, read, toCommaSeparatedArray, toQuotedAndCommaSeparatedArray, toTransform, toWSOrCommaSeparatedArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGZInputFormat()
Method Detail |
---|
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
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |