|
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.SVGOutputFormat
org.jhotdraw.samples.svg.io.SVGZOutputFormat
public class SVGZOutputFormat
SVGZOutputFormat.
Constructor Summary | |
---|---|
SVGZOutputFormat()
Creates a new instance. |
Method Summary | |
---|---|
java.lang.String |
getFileExtension()
Returns the file extension for the output format. |
javax.swing.filechooser.FileFilter |
getFileFilter()
Return a FileFilter that can be used to identify files which can be stored with this output format. |
void |
write(java.io.OutputStream out,
Drawing drawing)
Writes a Drawing into an output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGZOutputFormat()
Method Detail |
---|
public java.lang.String getFileExtension()
OutputFormat
getFileExtension
in interface OutputFormat
getFileExtension
in class SVGOutputFormat
public javax.swing.filechooser.FileFilter getFileFilter()
OutputFormat
getFileFilter
in interface OutputFormat
getFileFilter
in class SVGOutputFormat
public void write(java.io.OutputStream out, Drawing drawing) throws java.io.IOException
OutputFormat
write
in interface OutputFormat
write
in class SVGOutputFormat
out
- The output stream.drawing
- The drawing.
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 |