- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CharMappingFile (0.68 sec)
-
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
import org.dbflute.optional.OptionalEntity; public class CharMappingFile extends DictionaryFile<CharMappingItem> { private static final Logger logger = LogManager.getLogger(CharMappingFile.class); private static final String MAPPING = "mapping"; List<CharMappingItem> mappingItemList; public CharMappingFile(final String id, final String path, final Date timestamp) { super(id, path, timestamp);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CharMappingService.java
}).orElse(Collections.emptyList()); } public OptionalEntity<CharMappingFile> getCharMappingFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId).filter(CharMappingFile.class::isInstance) .map(file -> OptionalEntity.of((CharMappingFile) file)).orElse(OptionalEntity.empty()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java
validateApi(form, messages -> {}); final CharMappingFile file = charMappingService.getCharMappingFile(form.dictId).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.charMappingFile.getInputStream()) { file.update(inputStream);
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/dict/mapping/CharMappingCreator.java
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); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/UploadForm.java
/** * @author nullpos * @author ma2tani */ public class UploadForm { @Required public String dictId; @Required public MultipartFormFile charMappingFile;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 960 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java
verifyToken(() -> uploadpage(form.dictId)); return charMappingService.getCharMappingFile(form.dictId).map(file -> { try (InputStream inputStream = form.charMappingFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0)