Class DOTreader
java.lang.Object
org.graffiti.plugin.io.AbstractInputSerializer
org.graffiti.plugins.ios.exporters.graphviz.DOTreader
- All Implemented Interfaces:
InputSerializer
,Serializer
public class DOTreader extends AbstractInputSerializer
- Author:
- klukas 15.5.2006
-
Constructor Summary
Constructors Constructor Description DOTreader()
-
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 in, Graph g)
Methods inherited from class org.graffiti.plugin.io.AbstractInputSerializer
read, read, read, validFor
-
Constructor Details
-
DOTreader
public DOTreader()
-
-
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.
-
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!
-
read
- Throws:
IOException
-