|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.readers.GMLParser
public class GMLParser
The purpose of this class is to translate GML into an object tree, and print out an object tree into GML
Constructor Summary | |
---|---|
GMLParser(InputStream stream)
Make a stream tokenizer out of the given this file and read in the file |
|
GMLParser(StreamTokenizer tokenizer)
Constructor has to initialize the relevenat regular expression patterns |
|
GMLParser(String file)
Make a stream tokenizer out of the given this file and read in the file |
Method Summary | |
---|---|
List<KeyValue> |
parseList()
A list consists of zero or more paris of keys and values |
protected static void |
printList(List<KeyValue> list,
String indent,
Writer writer)
Protected recurive helper method to print out an object tree |
static void |
printList(List<KeyValue> list,
Writer writer)
Public method to print out a given object tree(list) using the supplied filewriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GMLParser(StreamTokenizer tokenizer)
public GMLParser(String file) throws IOException, Exception
IOException
Exception
public GMLParser(InputStream stream) throws IOException, Exception
IOException
Exception
Method Detail |
---|
public static void printList(List<KeyValue> list, Writer writer) throws IOException
IOException
protected static void printList(List<KeyValue> list, String indent, Writer writer) throws IOException
IOException
public List<KeyValue> parseList() throws IOException, ParseException
IOException
ParseException
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |