Package com.alexmerz.graphviz

This package contains the Tokenizer and Parser classes to create a datastructure from an Reader containing a Graphviz document.

See:
          Description

Interface Summary
ParserConstants  
 

Class Summary
GraphvizTokenMgrError Error helper class to create nicer lexer/parser messages
JavaCharStream An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
Parser The parser creates a list of Graph objects found in a Reader object.
ParserTokenManager  
Token Describes the input token stream.
 

Exception Summary
ParseException This exception is thrown when parse errors are encountered.
 

Error Summary
TokenMgrError  
 

Package com.alexmerz.graphviz Description

This package contains the Tokenizer and Parser classes to create a datastructure from an Reader containing a Graphviz document.
The typical usage:

File f = new File( "file.viz" );
FileReader in = new FileReader(f);
Parser p = new Parser();            
p.parse(in);
ArrayList<Graph> graphlist = p.getGraphs();

graphlist contains a list of com.alexmerz.graphviz.Graph objects. Instead of a Reader object, you can also provide a StringBuffer