public class Parser
extends java.lang.Object
Constructor and Description |
---|
Parser() |
Modifier and Type | Method and Description |
---|---|
static QfsmProject |
parse(java.io.File file)
Parse a Qfsm file.
|
static QfsmProject |
parse(java.lang.String path)
Parse a Qfsm file.
|
public static QfsmProject parse(java.lang.String path) throws QfsmException
path
- the file system pathQfsmException
- if parsing fails for any reasonparse(File)
public static QfsmProject parse(java.io.File file) throws QfsmException
QfsmMachine.startStateId
attribute is optional in Qfsm, a
warning will be logged if not defined.QfsmMachine.initialTransition
element is optional in Qfsm, a
warning will be logged if not defined.file
- the input fileQfsmException
- if parsing fails for any reasonCopyright 2012-2013 Michal Turek, AnotherFSM.