Class DictDecompile

  • All Implemented Interfaces:
    java.util.concurrent.Callable<ExitStatus>

    public class DictDecompile
    extends CliTool
    Decompiles morphological dictionary automaton back to source state.
    • Field Detail

      • input

        private java.nio.file.Path input
      • output

        private java.nio.file.Path output
      • overwrite

        private boolean overwrite
      • validate

        private boolean validate
    • Constructor Detail

      • DictDecompile

        DictDecompile()
      • DictDecompile

        public DictDecompile​(java.nio.file.Path input,
                             java.nio.file.Path output,
                             boolean overwrite,
                             boolean validate)
    • 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)