- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for dictionaryManager (0.08 seconds)
-
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
* */ public class DictionaryManager { private static final Logger logger = LogManager.getLogger(DictionaryManager.class); /** List of dictionary creators for handling different dictionary types */ protected List<DictionaryCreator> creatorList = new ArrayList<>(); /** * Default constructor for DictionaryManager. * Creates a new dictionary manager with an empty creator list.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} } }; systemHelper.init(); ComponentUtil.register(systemHelper, "systemHelper"); // Initialize DictionaryManager mock dictionaryManager = new DictionaryManager() { @Override public CurlResponse getContentResponse(DictionaryFile<?> file) { try { // Return a CurlResponse with the file's contentCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
* Sets the dictionary manager for this file and returns this instance. * * @param dictionaryManager the dictionary manager to set * @return this dictionary file instance for method chaining */ public DictionaryFile<T> manager(final DictionaryManager dictionaryManager) { this.dictionaryManager = dictionaryManager; return this; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
/** * Service class for Kuromoji. */ public class KuromojiService { /** The dictionary manager. */ @Resource protected DictionaryManager dictionaryManager; /** The Fess config. */ @Resource protected FessConfig fessConfig; /** * Default constructor. */ public KuromojiService() { // do nothing } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryCreator.java
/** * Sets the dictionary manager for this creator. * * @param dictionaryManager the dictionary manager to set */ public void setDictionaryManager(final DictionaryManager dictionaryManager) { this.dictionaryManager = dictionaryManager; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java
@Resource protected DictionaryManager dictionaryManager; /** * Retrieves all available dictionary files. * * @return JSON response containing list of dictionary files */ // GET /api/admin/dict @Execute public JsonResponse<ApiResult> get$index() { final DictionaryFile<? extends DictionaryItem>[] dictFiles = dictionaryManager.getDictionaryFiles();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
} @Test public void test_init() { final DictionaryManager dictionaryManager = new DictionaryManager(); dictionaryManager.init(); assertEquals(0, dictionaryManager.creatorList.size()); dictionaryManager.addCreator(new CharMappingCreator()); dictionaryManager.init(); assertEquals(1, dictionaryManager.creatorList.size()); } /* @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} }; systemHelper.init(); ComponentUtil.register(systemHelper, "systemHelper"); // Initialize DictionaryManager mock org.codelibs.fess.dict.DictionaryManager dictionaryManager = new org.codelibs.fess.dict.DictionaryManager() { @Override public org.codelibs.curl.CurlResponse getContentResponse(org.codelibs.fess.dict.DictionaryFile<?> file) { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java
logger.info("Loaded {}", this.getClass().getSimpleName()); } dictionaryManager.addCreator(this); } @Override protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) { return new CharMappingFile(id, path, timestamp).manager(dictionaryManager); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java
*/ @PostConstruct public void register() { if (logger.isInfoEnabled()) { logger.info("Loaded {}", this.getClass().getSimpleName()); } dictionaryManager.addCreator(this); } /** * Creates a new dictionary file. * * @param id The ID of the dictionary file. * @param path The path of the dictionary file.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2K bytes - Click Count (0)