| Modifier and Type | Method and Description |
|---|---|
static StateMachines.OutputFormat |
StateMachines.OutputFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateMachines.OutputFormat[] |
StateMachines.OutputFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <S,T> void |
StateMachines.toFile(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
File file)
Serialize a given state machine definition as a file.
|
static <S,T> void |
StateMachines.toFile(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
String filePath)
Serialize a given state machine definition as a file.
|
static <S,T> void |
StateMachines.toPath(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
Path filePath)
Serialize a given state machine definition as a file.
|
static <S,T> void |
StateMachines.toStream(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
OutputStream stream)
Serialize a given state machine definition to a stream.
|
static <S,T> String |
StateMachines.toString(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format)
Serialize a given
StateMachine definition to a String. |
static <S,T> StringBuilder |
StateMachines.toString(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
StringBuilder builder)
Serialize a given
StateMachine definition to a
StringBuilder. |
static <S,T> void |
StateMachines.toWriter(StateMachine<S,?,T> fsm,
StateMachines.OutputFormat format,
Writer writer)
Serialize a given state machine definition to a writer.
|
Copyright © 2015. All rights reserved.