Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for getInputStream (4.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.synonymFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.stemmerOverrideFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            verifyToken(() -> uploadpage(form.dictId));
            return synonymService.getSynonymFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.synonymFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                // monitoring
                mt = new MonitorThread(currentProcess, executionTimeout);
                mt.start();
    
                final InputStreamThread it = new InputStreamThread(currentProcess.getInputStream(), commandOutputEncoding, maxOutputLine);
                it.start();
    
                currentProcess.waitFor();
                it.join(5000);
    
                if (mt.isTeminated()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            }
        }
    
        public static void uploadObject(final String objectName, final MultipartFormFile uploadFile) {
            try (final InputStream in = uploadFile.getInputStream()) {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final MinioClient minioClient = createClient(fessConfig);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            verifyToken(this::asUploadHtml);
            CommonPoolUtil.execute(() -> {
                try (Reader reader = new BufferedReader(new InputStreamReader(form.badWordFile.getInputStream(), getCsvEncoding()))) {
                    badWordService.importCsv(reader);
                    suggestHelper.storeAllBadWords(false);
                } catch (final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top