- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addErrorsFailedToUploadStopwordsFile (0.23 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
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); } catch (final IOException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e); throwValidationError(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL), () -> redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId))); } saveInfo(messages -> messages.addSuccessUploadStopwordsFile(GLOBAL));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
* message: Failed to upload the Stopwords file. * </pre> * @param property The property name for the message. (NotNull) * @return this. (NotNull) */ public FessMessages addErrorsFailedToUploadStopwordsFile(String property) { assertPropertyNotNull(property); add(property, new UserMessage(ERRORS_failed_to_upload_stopwords_file)); return this; } /**
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 119.9K bytes - Viewed (0)