Class SerializeDict

java.lang.Object
de.danielnaber.jwordsplitter.converter.SerializeDict

public final class SerializeDict extends Object
This imports a plain text file and saves it in the jWordSplitter serialization format.
  • Constructor Details

    • SerializeDict

      private SerializeDict()
  • Method Details

    • getFileContents

      private static HashSet<String> getFileContents(File file) throws IOException
      Throws:
      IOException
    • main

      public static void main(String[] args) throws IOException
      Read a text file with one word per line and serialize the HashSet with all words to a binary file that can be part of jWordSplitter's JAR.
      Throws:
      IOException