|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.io.AbstractReader
infovis.table.io.AbstractTableReader
infovis.graph.io.AbstractGraphReader
infovis.graph.io.DOTGraphReader
public class DOTGraphReader
Reader class for the DOT file format.
| Constructor Summary | |
|---|---|
DOTGraphReader(InputStream in,
String name,
Graph graph)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getAttributePrefix()
Returns the attribute prefix. |
Rectangle2D.Float |
getBbox()
Returns the rectangle containing the layed-out graph |
boolean |
load()
Main method for loading the file. |
void |
setAttributePrefix(String prefix)
Sets the attribute prefix. |
| Methods inherited from class infovis.graph.io.AbstractGraphReader |
|---|
findLinkShape, findLinkShapes, findNodeShape, findNodeShapes, getGraph, getLinkShape, getLinkShapes, getNodeShape, getNodeShapes, reset, setLinkShape, setNodeShape |
| Methods inherited from class infovis.table.io.AbstractTableReader |
|---|
close, getBuffer, getBufferedReader, getCommentChar, getField, getIn, getTable, ignoreLine, isEof, read, readInt, readLine, readQuoted, setBuffer, setCommentChar, setEof, setTable, skipToEol |
| Methods inherited from class infovis.io.AbstractReader |
|---|
createColumn, getEncoding, getName, guessFieldType, setEncoding, setIn, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOTGraphReader(InputStream in,
String name,
Graph graph)
in - the input streamname - the namegraph - the graph| Method Detail |
|---|
public Rectangle2D.Float getBbox()
getBbox in class AbstractGraphReaderpublic String getAttributePrefix()
public void setAttributePrefix(String prefix)
prefix - the prefix.
public boolean load()
throws WrongFormatException
load in class AbstractReaderWrongFormatException - if the format is not the one expected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||