public interface FSASerializer
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<FSAFlags> |
getFlags()
Returns the set of flags supported by the serializer (and the output automaton).
|
<T extends java.io.OutputStream> |
serialize(FSA fsa,
T os)
Serialize a finite state automaton to an output stream.
|
FSASerializer |
withAnnotationSeparator(byte annotationSeparator)
Supports built-in annotation separator.
|
FSASerializer |
withFiller(byte filler)
Supports built-in filler separator.
|
FSASerializer |
withLogger(IMessageLogger logger)
Log extra messages during construction.
|
FSASerializer |
withNumbers()
Supports built-in right language count on nodes, speeding up perfect hash counts.
|
<T extends java.io.OutputStream> T serialize(FSA fsa, T os) throws java.io.IOException
java.io.IOExceptionjava.util.Set<FSAFlags> getFlags()
FSASerializer withLogger(IMessageLogger logger)
FSASerializer withFiller(byte filler)
getFlags() returns
FSAFlags.SEPARATORS.FSASerializer withAnnotationSeparator(byte annotationSeparator)
getFlags() returns
FSAFlags.SEPARATORS.FSASerializer withNumbers()
getFlags() returns FSAFlags.NUMBERS.Copyright © 2013. All Rights Reserved.