Package morfologik.tools
Class DictDecompile
- java.lang.Object
-
- morfologik.tools.CliTool
-
- morfologik.tools.DictDecompile
-
- All Implemented Interfaces:
java.util.concurrent.Callable<ExitStatus>
public class DictDecompile extends CliTool
Decompiles morphological dictionary automaton back to source state.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.Path
input
private java.nio.file.Path
output
private boolean
overwrite
private boolean
validate
-
Fields inherited from class morfologik.tools.CliTool
ARG_OVERWRITE, ARG_VALIDATE
-
-
Constructor Summary
Constructors Constructor Description DictDecompile()
DictDecompile(java.nio.file.Path input, java.nio.file.Path output, boolean overwrite, boolean validate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExitStatus
call()
private boolean
ensureNoSeparator(java.nio.ByteBuffer bb, byte marker)
static void
main(java.lang.String[] args)
private void
write(java.io.OutputStream os, java.nio.ByteBuffer bb)
-
Methods inherited from class morfologik.tools.CliTool
checkNotNull, main, main, printf, setCallSystemExit
-
-
-
-
Method Detail
-
call
public ExitStatus call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
write
private void write(java.io.OutputStream os, java.nio.ByteBuffer bb) throws java.io.IOException
- Throws:
java.io.IOException
-
ensureNoSeparator
private boolean ensureNoSeparator(java.nio.ByteBuffer bb, byte marker)
-
main
public static void main(java.lang.String[] args)
-
-