Class CharCategory


  • public final class CharCategory
    extends java.lang.Object
    文字カテゴリ定義を保持したバイナリデータを作成するクラス
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String KEY_PREFIX  
    • Constructor Summary

      Constructors 
      Constructor Description
      CharCategory​(java.lang.String inputDir, java.lang.String encoding, java.lang.String outputDir)
      コンストラクタ
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void build()
      文字カテゴリ定義のバイナリデータを作成する
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CharCategory

        public CharCategory​(java.lang.String inputDir,
                            java.lang.String encoding,
                            java.lang.String outputDir)
        コンストラクタ
        Parameters:
        inputDir - テキスト辞書が配置されているディレクトリのパス
        encoding - テキスト辞書の文字列エンコーディング
        outputDir - バイナリ辞書の保存先ディレクトリ
    • Method Detail

      • build

        public void build()
                   throws java.text.ParseException,
                          java.io.IOException
        文字カテゴリ定義のバイナリデータを作成する
        Throws:
        java.text.ParseException - テキスト辞書のパースに失敗した場合に送出される
        java.io.IOException - 入出力エラーが発生した場合に送出される