Class GraphMLReader
java.lang.Object
org.graffiti.plugin.io.AbstractInputSerializer
org.graffiti.plugins.ios.importers.graphml.GraphMLReader
- All Implemented Interfaces:
 InputSerializer,Serializer
public class GraphMLReader extends AbstractInputSerializer implements InputSerializer
This class implements the interface to invoke the reading of graphML files.
- Author:
 - ruediger
 
- 
Constructor Summary
Constructors Constructor Description GraphMLReader()Constructs a newGraphMLReader. - 
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.voidread(InputStream in, Graph g)Reads in a graph from the given input stream.voidread(Reader reader, Graph newGraph)Methods inherited from class org.graffiti.plugin.io.AbstractInputSerializer
read, read, read, validForMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graffiti.plugin.io.InputSerializer
read, read, read, validFor 
- 
Constructor Details
- 
GraphMLReader
public GraphMLReader()Constructs a newGraphMLReader. 
 - 
 - 
Method Details
- 
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!
 
 - 
read
Description copied from class:AbstractInputSerializerReads in a graph from the given input stream.- Specified by:
 readin interfaceInputSerializer- Specified by:
 readin 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
- Specified by:
 readin interfaceInputSerializer- Throws:
 Exception
 
 -