|
JHotDraw 7.0.9 | ||||||||
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 restored with this Storage Format. |
void |
read(java.io.InputStream in,
Drawing drawing)
Reads figures from a file and adds them to the specified drawing. |
Methods inherited from class org.jhotdraw.samples.svg.io.SVGInputFormat |
---|
getInputFormatAccessory, isDataFlavorSupported, read, readFigures, readFigures, toCommaSeparatedArray, 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) throws java.io.IOException
InputFormat
read
in interface InputFormat
read
in class SVGInputFormat
in
- The input stream.drawing
- The drawing.
java.io.IOException
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |