|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.graffiti.plugin.io.AbstractInputSerializer
pnml.loader.XML_PNML_Loader
public class XML_PNML_Loader
This class provides a reader for graphs in xml_pnml format.
AbstractIOSerializer
Constructor Summary | |
---|---|
XML_PNML_Loader()
Constructs a new XML_PNML_Loader . |
Method Summary | |
---|---|
java.lang.String[] |
getExtensions()
Returns the extensions supported by this reader. |
java.lang.String[] |
getFileTypeDescriptions()
|
org.graffiti.graph.Graph |
read(java.io.InputStream in)
Reads in a graph from the given input stream. |
void |
read(java.io.InputStream in,
org.graffiti.graph.Graph g)
Reads in a graph from the given input stream. |
void |
read(java.io.Reader reader,
org.graffiti.graph.Graph newGraph)
|
Methods inherited from class org.graffiti.plugin.io.AbstractInputSerializer |
---|
read, read, validFor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XML_PNML_Loader()
XML_PNML_Loader
.
Method Detail |
---|
public java.lang.String[] getExtensions()
public java.lang.String[] getFileTypeDescriptions()
public void read(java.io.InputStream in, org.graffiti.graph.Graph g) throws java.io.IOException
read
in interface org.graffiti.plugin.io.InputSerializer
read
in class org.graffiti.plugin.io.AbstractInputSerializer
in
- the InputStream
g
- the graph
java.io.IOException
- I/O exceptionpublic org.graffiti.graph.Graph read(java.io.InputStream in) throws java.io.IOException
read
in interface org.graffiti.plugin.io.InputSerializer
read
in class org.graffiti.plugin.io.AbstractInputSerializer
in
- The input stream
java.io.IOException
- I/O exceptionpublic void read(java.io.Reader reader, org.graffiti.graph.Graph newGraph) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |