public abstract class GDOTImporter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GDOTImporter.Node |
static class |
GDOTImporter.StringTokenizer |
| Modifier and Type | Field and Description |
|---|---|
protected GElement |
graph |
protected float |
height |
| Constructor and Description |
|---|
GDOTImporter() |
| Modifier and Type | Method and Description |
|---|---|
abstract GElement |
createGraphEdge(String[] tokens) |
abstract GElement |
createGraphNode(String[] tokens) |
GElement |
generateGraph(String dotFile) |
boolean |
isFloatString(String s) |
abstract GElement |
parseLine(String line) |
String[] |
parseTokens(String line) |
protected GElement graph
protected float height
public GElement generateGraph(String dotFile) throws IOException
IOExceptionpublic String[] parseTokens(String line) throws IOException
IOExceptionpublic abstract GElement parseLine(String line) throws IOException
IOExceptionpublic abstract GElement createGraphNode(String[] tokens) throws IOException
IOExceptionpublic abstract GElement createGraphEdge(String[] tokens) throws IOException
IOExceptionpublic boolean isFloatString(String s)
Copyright © 2013. All rights reserved.