- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for ProtwordsFile (0.07 sec)
-
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
*/ public class ProtwordsFile extends DictionaryFile<ProtwordsItem> { private static final String PROTWORDS = "protwords"; List<ProtwordsItem> protwordsItemList; /** * Constructor for ProtwordsFile. * @param id the file identifier * @param path the file path * @param timestamp the file timestamp */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Load data first protwordsFile.reload(null); // Get an existing item ProtwordsItem item = protwordsFile.get(1).get(); // Delete the item protwordsFile.delete(item); // Verify deletion protwordsFile.reload(null); PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100); for (ProtwordsItem listItem : list) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
* @return the protected words file if found */ public OptionalEntity<ProtwordsFile> getProtwordsFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(ProtwordsFile.class::isInstance) .map(file -> OptionalEntity.of((ProtwordsFile) file)) .orElse(OptionalEntity.empty()); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
form.dictId = dictId; validateApi(form, messages -> {}); final ProtwordsFile file = protwordsService.getProtwordsFile(form.dictId).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.protwordsFile.getInputStream()) { file.update(inputStream);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_upload.jsp
<label for="protwordsFile" class="col-sm-3 text-sm-right col-form-label"><la:message key="labels.dict_protwords_file"/></label> <div class="col-sm-9"> <input type="file" id="protwordsFile" name="protwordsFile" class="form-control-file"/> </div>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/UploadForm.java
/** * The multipart file containing the protected words to be uploaded. * This file should contain a list of words that should be protected from stemming. */ @Required public MultipartFormFile protwordsFile; /** * Default constructor for UploadForm. * Creates a new instance with default values. */ public UploadForm() { // Default constructor }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java
dictionaryManager.addCreator(this); } @Override protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) { return new ProtwordsFile(id, path, timestamp).manager(dictionaryManager); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
verifyToken(() -> uploadpage(form.dictId)); return protwordsService.getProtwordsFile(form.dictId).map(file -> { try (InputStream inputStream = form.protwordsFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.1K bytes - Viewed (0) -
src/main/resources/fess_label_en.properties
labels.target=Target labels.token=Token labels.synonymFile=Synonym File labels.stopwordsFile=Stopwords File labels.stemmerOverrideFile=Stemmer Override File labels.mappingFile=Mapping File labels.protwordsFile=Protwords File labels.kuromojiFile=Kuromoji File labels.elevateWordFile=Elevate Word File labels.badWordFile=Bad Word File labels.urlExpr=Condition labels.boostExpr=Boost Expression labels.confirmPassword=Confirm
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 40.7K bytes - Viewed (0) -
src/main/resources/fess_label_zh_TW.properties
labels.segmentation=分段 labels.startTime=開始時間 labels.target=目標 labels.token=令牌 labels.synonymFile=同義詞檔案 labels.stopwordsFile=停用詞檔案 labels.stemmerOverrideFile=詞幹覆蓋檔案 labels.mappingFile=映射檔案 labels.protwordsFile=Protwords檔案 labels.kuromojiFile=Kuromoji檔案 labels.elevateWordFile=提升詞檔案 labels.badWordFile=不良詞檔案 labels.urlExpr=條件 labels.boostExpr=提升值表達式 labels.confirmPassword=確認 labels.crawler=爬蟲 labels.crudMode=模式
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 40.7K bytes - Viewed (0)