|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmorfologik.tools.FSABuildTool
public final class FSABuildTool
Convert from plain text input to a serialized FSA in any of the
available FSABuildTool.Format
s.
Nested Class Summary | |
---|---|
static class |
FSABuildTool.Format
The serialization format to use for the binary output. |
Field Summary | |
---|---|
protected org.apache.commons.cli.Options |
options
Command line options. |
Constructor Summary | |
---|---|
FSABuildTool()
|
Method Summary | |
---|---|
static void |
checkSingleByte(java.lang.String chr)
Check if the argument is a single byte after conversion using platform-default encoding. |
protected java.lang.String |
dumpLine(byte[] line,
int length)
Dump input line, byte-by-byte. |
protected void |
go(org.apache.commons.cli.CommandLine line)
Command line entry point after parsing arguments. |
protected void |
go(java.lang.String[] args)
Initializes application context. |
protected void |
initializeOptions(org.apache.commons.cli.Options options)
Override and initialize options. |
protected boolean |
isAvailable()
Is the tool available? |
static void |
main(java.lang.String[] args)
Command line entry point. |
protected void |
printError(java.lang.String msg)
Print an error without an exception. |
protected void |
printError(java.lang.String msg,
java.lang.Throwable t)
Print an error and an associated exception. |
protected void |
printUsage()
Prints usage (options). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.commons.cli.Options options
Constructor Detail |
---|
public FSABuildTool()
Method Detail |
---|
protected void go(org.apache.commons.cli.CommandLine line) throws java.lang.Exception
java.lang.Exception
protected java.lang.String dumpLine(byte[] line, int length)
public static void checkSingleByte(java.lang.String chr)
protected void printUsage()
protected void initializeOptions(org.apache.commons.cli.Options options)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected final void go(java.lang.String[] args)
protected void printError(java.lang.String msg, java.lang.Throwable t)
protected void printError(java.lang.String msg)
protected boolean isAvailable()
true
by default.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |