Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for stemmeroverrideFile (0.14 sec)

  1. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

            }).orElse(Collections.emptyList());
        }
    
        public OptionalEntity<StemmerOverrideFile> getStemmerOverrideFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId).filter(StemmerOverrideFile.class::isInstance)
                    .map(file -> OptionalEntity.of((StemmerOverrideFile) file)).orElse(OptionalEntity.empty());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class StemmerOverrideFileTest extends UnitFessTestCase {
        private StemmerOverrideFile stemmerOverrideFile;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            stemmerOverrideFile = new StemmerOverrideFile("1", "dummy", new Date());
            List<StemmerOverrideItem> itemList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride_upload.jsp

                                        <label for="stemmeroverrideFile" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.dict_stemmeroverride_file"/></label>
                                        <div class="col-sm-9">
                                            <input type="file" id="stemmeroverrideFile" name="stemmeroverrideFile" class="form-control-file"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

            validateApi(form, messages -> {});
            final StemmerOverrideFile file = stemmerOverrideService.getStemmerOverrideFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.stemmerOverrideFile.getInputStream()) {
                file.update(inputStream);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/UploadForm.java

    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class UploadForm {
    
        @Required
        public String dictId;
    
        @Required
        public MultipartFormFile stemmerOverrideFile;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 982 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java

            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new StemmerOverrideFile(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)
Back to top