Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for getInputStream (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                        if (extractor != null) {
                            InputStream is = null;
                            try {
                                is = lhaFile.getInputStream(head);
                                final Map<String, String> map = new HashMap<>();
                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
                if (header == null) {
                    throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            @Override
            public byte[] getFileData() throws IOException {
                return fileItem.get();
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return fileItem.getInputStream();
            }
    
            @Override
            public String getContentType() {
                return fileItem.getContentType();
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                } catch (final Exception e) {
                    throw new IOException("Failed to create MinioClient.", e);
                }
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                if (minioClient == null) {
                    throw new IOException("Access is not ready.");
                }
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
        }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    logger.debug("Thumbnail Command: {}", cmdList);
                }
    
                final Process p = pb.start();
    
                final InputStreamThread ist = new InputStreamThread(p.getInputStream(), Charset.defaultCharset(), 0, s -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug(s);
                    }
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        public FileSource(Path path) {
            this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath();
            this.hashCode = Objects.hash(path);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
        public String getLocation() {
            return path.toString();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/RandomAccessFileTest.java

                        assertEquals(l + off, raf.getFilePointer());
                        raf.setLength(raf.getFilePointer() + l);
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
                        verifyZero(off, is);
                        ReadWriteTest.verifyRandom(bufSize, l, false, is);
                        verifyZero(l, is);
                    }
                }
                finally {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                if (mimeType != null) {
                    final Extractor extractor = extractorFactory.getExtractor(mimeType);
                    if (extractor != null) {
                        try (final InputStream in = bodyPart.getInputStream()) {
                            final Map<String, String> map = new HashMap<>();
                            map.put(ExtractData.RESOURCE_NAME_KEY, filename);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top