org.graffiti.plugins.ios.importers.graphml
Class GraphMLReader

java.lang.Object
  extended by org.graffiti.plugin.AbstractParametrizable
      extended by org.graffiti.plugin.io.AbstractInputSerializer
          extended by org.graffiti.plugins.ios.importers.graphml.GraphMLReader
All Implemented Interfaces:
InputSerializer, Serializer, Parametrizable

public class GraphMLReader
extends AbstractInputSerializer
implements InputSerializer

This class implements the interface to invoke the reading of graphML files.

Author:
ruediger

Constructor Summary
GraphMLReader()
          Constructs a new GraphMLReader.
 
Method Summary
 String[] getExtensions()
          The file extensions the serializer can read or write.
 String getName()
          Returns the name (id) of this Parametrizable.
 void read(InputStream in, Graph g)
          Reads in a graph from the given input stream.
 
Methods inherited from class org.graffiti.plugin.io.AbstractInputSerializer
read, read, read
 
Methods inherited from class org.graffiti.plugin.AbstractParametrizable
copyParameters, getDefaultParameters, getParameters, getUserParameters, saveUserParameters, saveUserParameters, setParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.io.InputSerializer
read, read, read
 
Methods inherited from interface org.graffiti.plugin.Parametrizable
getDefaultParameters, getParameters, setParameters
 

Constructor Detail

GraphMLReader

public GraphMLReader()
Constructs a new GraphMLReader.

Method Detail

getExtensions

public String[] getExtensions()
Description copied from interface: org.graffiti.plugin.io.Serializer
The file extensions the serializer can read or write.

Specified by:
getExtensions in interface Serializer
Returns:
DOCUMENT ME!

read

public void read(InputStream in,
                 Graph g)
          throws IOException
Description copied from class: org.graffiti.plugin.io.AbstractInputSerializer
Reads in a graph from the given input stream.

Specified by:
read in interface InputSerializer
Specified by:
read in class AbstractInputSerializer
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.

getName

public String getName()
Description copied from interface: org.graffiti.plugin.Parametrizable
Returns the name (id) of this Parametrizable.

Specified by:
getName in interface Parametrizable
Returns:
DOCUMENT ME!


Generated at 2012-05-30 11:01:25 PM CEST