Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 811 for FILE (0.01 sec)

  1. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         * This method checks for concurrent modifications by comparing timestamps
         * and uploads the file content to the ConfigSync API.
         *
         * @param dictFile the dictionary file metadata to store
         * @param file the actual file containing the dictionary content
         * @throws DictionaryException if the file was updated by another process,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    // Copy tempFile to the actual file
                    try {
                        java.nio.file.Files.copy(tempFile.toPath(), new File(file.getPath()).toPath(),
                                java.nio.file.StandardCopyOption.REPLACE_EXISTING);
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
                    file.update(stopwordsItem);
                }
            });
        }
    
        /**
         * Deletes a stopword item from the specified dictionary.
         *
         * @param dictId        The ID of the dictionary.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/SynonymService.java

            return getSynonymFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a synonym item in the specified dictionary.
         *
         * @param dictId      The ID of the dictionary.
         * @param synonymItem The synonym item to store.
         */
        public void store(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.firefox", "file://///"));
                }
                break;
            case CHROME:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.chrome", "file://"));
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadStemmeroverrideFile(GLOBAL),
                                () -> downloadpage(form.dictId));
                        return null;
                    });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                    return Integer.valueOf(-1);
                }
            };
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
    
            // Get existing component and update it instead of registering new one
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return charMappingService.getCharMappingFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return stemmerOverrideService.getStemmerOverrideFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            return redirectWith(getClass(), moreUrl("list/" + encodeId(form.path)));
        }
    
        /**
         * Downloads a file from the storage system.
         *
         * @param id the encoded ID of the file to download
         * @return action response with the file stream for download
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
Back to top