Package org.codelibs.fess.dict.mapping
Class CharMappingCreator
java.lang.Object
org.codelibs.fess.dict.DictionaryCreator
org.codelibs.fess.dict.mapping.CharMappingCreator
Creator for character mapping dictionary files.
Handles the creation and management of character mapping dictionaries used for text normalization.
-
Field Summary
Fields inherited from class org.codelibs.fess.dict.DictionaryCreator
dictionaryManager, pattern -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new CharMappingCreator with the mapping file pattern. -
Method Summary
Modifier and TypeMethodDescriptionprotected DictionaryFile<? extends DictionaryItem> newDictionaryFile(String id, String path, Date timestamp) Creates a new dictionary file instance for the given parameters.voidregister()Registers this creator with the dictionary manager after construction.Methods inherited from class org.codelibs.fess.dict.DictionaryCreator
create, encodePath, isTarget, setDictionaryManager
-
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:DictionaryCreatorCreates a new dictionary file instance for the given parameters.- Specified by:
newDictionaryFilein classDictionaryCreator- Parameters:
id- the encoded identifier for the dictionary filepath- the file path of the dictionarytimestamp- the timestamp of the dictionary file- Returns:
- a new DictionaryFile instance
-