yext.svg.io
Class SVGZIOHandler

java.lang.Object
  extended by y.io.IOHandler
      extended by yext.svg.io.SVGIOHandler
          extended by yext.svg.io.SVGZIOHandler

public class SVGZIOHandler
extends SVGIOHandler

Writes a Graph2D in compressed SVG vector graphics format.

 

Constructor Summary
SVGZIOHandler()
          Instantiates a new SVGZIOHandler.
 
Method Summary
 String getFileFormatString()
          Returns the SVGZ file format string.
 String getFileNameExtension()
          Returns the SVG file name extension, i.e.
 void write(Graph2D graph, OutputStream out)
          Write the graph in SVG format to a GZIPOutputStream
 
Methods inherited from class yext.svg.io.SVGIOHandler
addRenderingHint, canRead, createDefaultGraph2DView, createDocument, createGraphicsContext, getActiveGraph2DView, getDocument, getGraph2DView, getSVGGraph2DRenderer, getSVGRenderingHintValue, isCanvasSizeAssigned, isUseCSS, read, removeRenderingHint, setCanvasSizeAssigned, setGraph2DView, setSVGGraph2DRenderer, setSVGRenderingHintValue, setUseCSS
 
Methods inherited from class y.io.IOHandler
canWrite, canWriteSubset, createObjectInputStream, createObjectOutputStream, hide, read, read, shouldSerialize, shouldSerialize, write, writeSubset, writeSubset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGZIOHandler

public SVGZIOHandler()
Instantiates a new SVGZIOHandler.

Method Detail

getFileFormatString

public String getFileFormatString()
Returns the SVGZ file format string.

Overrides:
getFileFormatString in class SVGIOHandler

getFileNameExtension

public String getFileNameExtension()
Returns the SVG file name extension, i.e. "gif"

Overrides:
getFileNameExtension in class SVGIOHandler

write

public void write(Graph2D graph,
                  OutputStream out)
           throws IOException
Write the graph in SVG format to a GZIPOutputStream

Overrides:
write in class SVGIOHandler
Throws:
IOException


© Copyright 2002-2015,
yWorks GmbH.
All rights reserved.