| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.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 | |
|---|---|
|  java.lang.String | getFileFormatString()Returns the Zip-compressed GraphML file format string. | 
|  java.lang.String | getFileNameExtension()Returns the default file name extension for Zip-compressed GraphML files. | 
|  void | read(Graph2D graph,
     java.io.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,
      java.io.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 java.lang.String getFileFormatString()
getFileFormatString in class GraphMLIOHandlerpublic java.lang.String getFileNameExtension()
getFileNameExtension in class GraphMLIOHandlergraphmlz
public void read(Graph2D graph,
                 java.io.InputStream is)
          throws java.io.IOException
read in class GraphMLIOHandlerjava.io.IOExceptionGraphMLIOHandler.read(Graph2D,InputStream)
public void write(Graph2D graph,
                  java.io.OutputStream os)
           throws java.io.IOException
write in class GraphMLIOHandlerjava.io.IOExceptionGraphMLIOHandler.write(Graph2D,OutputStream)| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||