Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KuromojiFile (2.69 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

    import org.codelibs.fess.util.KuromojiCSVUtil;
    import org.dbflute.optional.OptionalEntity;
    
    public class KuromojiFile extends DictionaryFile<KuromojiItem> {
        private static final String KUROMOJI = "kuromoji";
    
        List<KuromojiItem> kuromojiItemList;
    
        public KuromojiFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            final KuromojiFile kuromojiFile = new KuromojiFile(file1);
            final PagingList<KuromojiItem> itemList1 = kuromojiFile.selectList(0,
                    20);
            assertEquals(3, itemList1.size());
    
            final KuromojiItem kuromojiItem1 = itemList1.get(0);
            kuromojiFile.delete(kuromojiItem1);
            final PagingList<KuromojiItem> itemList2 = kuromojiFile.selectList(0,
                    20);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

            }).orElse(Collections.emptyList());
        }
    
        public OptionalEntity<KuromojiFile> getKuromojiFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId).filter(KuromojiFile.class::isInstance)
                    .map(file -> OptionalEntity.of((KuromojiFile) file)).orElse(OptionalEntity.empty());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            form.dictId = dictId;
            validateApi(form, messages -> {});
            final KuromojiFile file = kuromojiService.getKuromojiFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.kuromojiFile.getInputStream()) {
                file.update(inputStream);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_upload.jsp

                                        <label for="kuromojiFile" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.dict_kuromoji_file"/></label>
                                        <div class="col-sm-9">
                                            <input type="file" id="kuromojiFile" name="kuromojiFile" class="form-control-file"/>
                                        </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java

            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new KuromojiFile(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)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/UploadForm.java

    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class UploadForm {
    
        @Required
        public String dictId;
    
        @Required
        public MultipartFormFile kuromojiFile;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 969 bytes
    - Viewed (0)
Back to top