cz.cuni.amis.fsm
Class FSMDotPrinter
java.lang.Object
cz.cuni.amis.fsm.FSMDotPrinter
public class FSMDotPrinter
- extends java.lang.Object
Printer creating a Graphviz .dot file from the instantiated FSM.
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
print(java.lang.Class<IFSMState> initialStateClass,
java.io.OutputStream out,
java.lang.String graphName)
|
static void |
print(FSM fsm,
java.io.OutputStream out,
java.lang.String graphName)
Print the FSM in a Graphviz .dot format. |
protected static void |
printUsage()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSMDotPrinter
public FSMDotPrinter()
print
public static void print(FSM fsm,
java.io.OutputStream out,
java.lang.String graphName)
- Print the FSM in a Graphviz .dot format.
- Parameters:
fsm
- FSM to printout
- output stream where the dot will be printedgraphName
- name of the FSM graph
print
public static void print(java.lang.Class<IFSMState> initialStateClass,
java.io.OutputStream out,
java.lang.String graphName)
printUsage
protected static void printUsage()
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException