|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.graphviz.layouter.GraphvizTool
public class GraphvizTool
Handler for accessing Graphviz via a separate process.
Nested Class Summary | |
---|---|
static class |
GraphvizTool.Cleanup
Available cleanup modes. |
Field Summary | |
---|---|
static String |
PREF_GRAPHVIZ_EXECUTABLE
preference constant for Graphviz executable. |
static String |
PREF_TIMEOUT
preference constant for timeout. |
static int |
PROCESS_DEF_TIMEOUT
default timeout for waiting for Graphviz to give some output. |
static int |
PROCESS_MIN_TIMEOUT
minimal timeout for waiting for Graphviz to give some output. |
Constructor Summary | |
---|---|
GraphvizTool(Command thecommand)
Create a Graphviz tool instance for the given command. |
Method Summary | |
---|---|
void |
cleanup(GraphvizTool.Cleanup c)
Clean up, optionally preparing the tool for the next use. |
void |
initialize()
Initialize the Graphviz tool instance by starting the dot process and the watcher thread as necessary. |
OutputStream |
input()
Return the stream that is used to give input to Graphviz. |
InputStream |
output()
Return the stream for reading the output of the Graphviz process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PREF_GRAPHVIZ_EXECUTABLE
public static final String PREF_TIMEOUT
public static final int PROCESS_DEF_TIMEOUT
public static final int PROCESS_MIN_TIMEOUT
Constructor Detail |
---|
public GraphvizTool(Command thecommand)
thecommand
- a Graphviz commandMethod Detail |
---|
public void initialize()
public OutputStream input()
public InputStream output()
public void cleanup(GraphvizTool.Cleanup c)
c
- the cleanup option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |