Class CharMappingCreator

java.lang.Object
org.codelibs.fess.dict.DictionaryCreator
org.codelibs.fess.dict.mapping.CharMappingCreator

public class CharMappingCreator extends DictionaryCreator
Creator for character mapping dictionary files. Handles the creation and management of character mapping dictionaries used for text normalization.
  • Constructor Details

    • CharMappingCreator

      public CharMappingCreator()
      Constructs a new CharMappingCreator with the mapping file pattern.
  • Method Details

    • register

      @PostConstruct public void register()
      Registers this creator with the dictionary manager after construction.
    • newDictionaryFile

      protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(String id, String path, Date timestamp)
      Description copied from class: DictionaryCreator
      Creates a new dictionary file instance for the given parameters.
      Specified by:
      newDictionaryFile in class DictionaryCreator
      Parameters:
      id - the encoded identifier for the dictionary file
      path - the file path of the dictionary
      timestamp - the timestamp of the dictionary file
      Returns:
      a new DictionaryFile instance