Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for protwordsFile (0.19 sec)

  1. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    public class ProtwordsFile extends DictionaryFile<ProtwordsItem> {
        private static final String PROTWORDS = "protwords";
    
        List<ProtwordsItem> protwordsItemList;
    
        public ProtwordsFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

            }).orElse(Collections.emptyList());
        }
    
        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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. 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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. 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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  5. 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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/UploadForm.java

    import org.lastaflute.web.validation.Required;
    
    /**
     * @author ma2tani
     */
    public class UploadForm {
    
        @Required
        public String dictId;
    
        @Required
        public MultipartFormFile protwordsFile;
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 941 bytes
    - Viewed (0)
Back to top