Class MetaToolReader
java.lang.Object
org.graffiti.plugin.io.AbstractInputSerializer
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.metatool.MetaToolReader
- All Implemented Interfaces:
InputSerializer
,Serializer
public class MetaToolReader extends AbstractInputSerializer
-
Constructor Summary
Constructors Constructor Description MetaToolReader()
-
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
read(InputStream in, Graph g)
Reads in a graph from the given input stream.void
read(Reader reader, Graph newGraph)
Methods inherited from class org.graffiti.plugin.io.AbstractInputSerializer
read, read, read, validFor
-
Constructor Details
-
MetaToolReader
public MetaToolReader()
-
-
Method Details
-
read
Description copied from class:AbstractInputSerializer
Reads in a graph from the given input stream.- Specified by:
read
in interfaceInputSerializer
- Specified by:
read
in classAbstractInputSerializer
- Parameters:
in
- The input stream to read the graph from.g
- The graph to add the newly read graph to.- Throws:
IOException
- If an IO error occurs.
-
read
- Throws:
Exception
-
getExtensions
Description copied from interface:Serializer
The file extensions the serializer can read or write.- Returns:
- DOCUMENT ME!
-
getFileTypeDescriptions
Description copied from interface:Serializer
The file type descriptions of the files the serializer can read or write.- Returns:
- DOCUMENT ME!
-