|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.IOHandler y.io.GraphMLIOHandler y.io.ZipGraphMLIOHandler
public class ZipGraphMLIOHandler
IOHandler for (de)serializing graphs from/to Zip-compressed GraphML format.
Constructor Summary | |
---|---|
ZipGraphMLIOHandler()
Creates a new instance of ZipGraphMLIOHandler. |
Method Summary | |
---|---|
String |
getFileFormatString()
Returns the Zip-compressed GraphML file format string. |
String |
getFileNameExtension()
Returns the default file name extension for Zip-compressed GraphML files. |
void |
read(Graph2D graph,
InputStream is)
Reads a GraphML file from the given input stream (using a Zip compression stream filter) and populates the Graph2D object. |
void |
write(Graph2D graph,
OutputStream os)
Writes the given Graph2D object to the output stream (using a Zip compression stream filter) creating a GraphML file. |
Methods inherited from class y.io.GraphMLIOHandler |
---|
addEdgeRealizerSerializer, addNodeRealizerSerializer, createGraphMLHandler, getGraphMLHandler, read, write |
Methods inherited from class y.io.IOHandler |
---|
canRead, 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 |
---|
public ZipGraphMLIOHandler()
GraphMLIOHandler
Method Detail |
---|
public String getFileFormatString()
getFileFormatString
in class GraphMLIOHandler
public String getFileNameExtension()
getFileNameExtension
in class GraphMLIOHandler
graphmlz
public void read(Graph2D graph, InputStream is) throws IOException
read
in class GraphMLIOHandler
IOException
GraphMLIOHandler.read(Graph2D,InputStream)
public void write(Graph2D graph, OutputStream os) throws IOException
write
in class GraphMLIOHandler
IOException
GraphMLIOHandler.write(Graph2D,OutputStream)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |