Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for getInputStream (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            validateApi(body, messages -> {});
            CommonPoolUtil.execute(() -> {
                try (Reader reader = new BufferedReader(new InputStreamReader(body.elevateWordFile.getInputStream(), getCsvEncoding()))) {
                    elevateWordService.importCsv(reader);
                    suggestHelper.storeAllElevateWords(false);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. 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()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public Permission getPermission () throws IOException {
            return this.connection.getPermission();
        }
    
    
        @Override
        public InputStream getInputStream () throws IOException {
            handshake();
            return this.connection.getInputStream();
        }
    
    
        @SuppressWarnings ( "resource" )
        @Override
        public OutputStream getOutputStream () throws IOException {
            connect();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            verifyToken(() -> uploadpage(form.dictId));
            return charMappingService.getCharMappingFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.charMappingFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            final String fileName = form.bulkFile.getFileName();
            final File tempFile = ComponentUtil.getSystemHelper().createTempFile("fess_restore_", ".tmp");
            try (final InputStream in = form.bulkFile.getInputStream(); final OutputStream out = new FileOutputStream(tempFile)) {
                CopyUtil.copy(in, out);
                asyncImport(fileName, tempFile);
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/net/URLUtil.java

            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection.getInputStream();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * URLが参照するリモートオブジェクトへの接続を表す{@link URLConnection}オブジェクトを返します。
         *
         * @param url
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            try {
                Process process = new ProcessBuilder().command(args).start();
                CountDownLatch latch = new CountDownLatch(2);
                ByteArrayOutputStream stdout = connectStream(process.getInputStream(), latch);
                ByteArrayOutputStream stderr = connectStream(process.getErrorStream(), latch);
    
                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                con.setDoOutput(true);
                if (httpMethod != Method.GET && request.getContentLength() > 2) {
                    try (ServletInputStream in = request.getInputStream(); OutputStream out = con.getOutputStream()) {
                        CopyUtil.copy(in, out);
                    } catch (final IOException e) {
                        throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/TimeoutTest.java

                        os.write(new byte[] {
                            1, 2, 3, 4, 5, 6, 7, 8
                        });
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
                        for ( int i = 0; i < 8; i++ ) {
                            is.read();
                            Thread.sleep(soTimeout);
                        }
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  10. 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) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top