- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for StopwordsFile (0.29 sec)
-
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalEntity; public class StopwordsFile extends DictionaryFile<StopwordsItem> { private static final String STOPWORDS = "stopwords"; List<StopwordsItem> stopwordsItemList; public StopwordsFile(final String id, final String path, final Date timestamp) { super(id, path, timestamp); } @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
}).orElse(Collections.emptyList()); } public OptionalEntity<StopwordsFile> getStopwordsFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId).filter(StopwordsFile.class::isInstance) .map(file -> OptionalEntity.of((StopwordsFile) file)).orElse(OptionalEntity.empty()); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
form.dictId = dictId; validateApi(form, messages -> {}); final StopwordsFile file = stopwordsService.getStopwordsFile(form.dictId).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.stopwordsFile.getInputStream()) { file.update(inputStream);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java
import org.lastaflute.web.validation.Required; /** * @author ma2tani */ public class UploadForm { @Required public String dictId; @Required public MultipartFormFile stopwordsFile;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 941 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java
dictionaryManager.addCreator(this); } @Override protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) { return new StopwordsFile(id, path, timestamp).manager(dictionaryManager); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.6K bytes - Viewed (0)