Class GMLgzWriter
java.lang.Object
org.graffiti.plugins.ios.exporters.gml.GMLWriter
org.graffiti.plugins.ios.exporters.gml.GMLgzWriter
- All Implemented Interfaces:
OutputSerializer
,Serializer
,SupportsWriterOutput
public class GMLgzWriter extends GMLWriter
- Author:
- Christian Klukas
-
Constructor Summary
Constructors Constructor Description GMLgzWriter()
-
Method Summary
Modifier and Type Method Description String[]
getExtensions()
The file extensions the serializer can read or write.String[]
getFileTypeDescriptions()
The file type descriptions of the files the serializer can read or write.void
write(OutputStream stream, Graph g)
Writes the contents of the given graph to a stream.Methods inherited from class org.graffiti.plugins.ios.exporters.gml.GMLWriter
decodeBadCharacters, encodeBadCharacters, getArrowShapeClassNameFromGMLarrowStyle, getValues, validFor, write
-
Constructor Details
-
GMLgzWriter
public GMLgzWriter()
-
-
Method Details
-
getExtensions
Description copied from interface:Serializer
The file extensions the serializer can read or write.- Specified by:
getExtensions
in interfaceSerializer
- Overrides:
getExtensions
in classGMLWriter
- Returns:
- DOCUMENT ME!
-
getFileTypeDescriptions
Description copied from interface:Serializer
The file type descriptions of the files the serializer can read or write.- Specified by:
getFileTypeDescriptions
in interfaceSerializer
- Overrides:
getFileTypeDescriptions
in classGMLWriter
- Returns:
- DOCUMENT ME!
-
write
Description copied from interface:OutputSerializer
Writes the contents of the given graph to a stream.- Specified by:
write
in interfaceOutputSerializer
- Overrides:
write
in classGMLWriter
- Parameters:
stream
- The output stream to save the graph to.g
- The graph to save.- Throws:
IOException
-