Class MetatoolWriter
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.metatool.MetatoolWriter
- All Implemented Interfaces:
OutputSerializer,Serializer
public class MetatoolWriter extends Object implements OutputSerializer
-
Constructor Summary
Constructors Constructor Description MetatoolWriter() -
Method Summary
Modifier and Type Method Description static StringgetEdgeLabel(Edge ed)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.static StringgetNodeLabel(Node nd)booleanvalidFor(Graph g)voidwrite(OutputStream stream, Graph g)Writes the contents of the given graph to a stream.
-
Constructor Details
-
MetatoolWriter
public MetatoolWriter()
-
-
Method Details
-
getNodeLabel
-
getEdgeLabel
-
validFor
- Specified by:
validForin interfaceOutputSerializer- Parameters:
g- The graph to be serialized- Returns:
-
write
Description copied from interface:OutputSerializerWrites the contents of the given graph to a stream.- Specified by:
writein interfaceOutputSerializer- Parameters:
stream- The output stream to save the graph to.g- The graph to save.- Throws:
IOException
-
getExtensions
Description copied from interface:SerializerThe file extensions the serializer can read or write.- Specified by:
getExtensionsin interfaceSerializer- Returns:
- DOCUMENT ME!
-
getFileTypeDescriptions
Description copied from interface:SerializerThe file type descriptions of the files the serializer can read or write.- Specified by:
getFileTypeDescriptionsin interfaceSerializer- Returns:
- DOCUMENT ME!
-