Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for getContentType (0.2 sec)

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

                    }
                    final String filename = head.getPath();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
                        if (extractor != null) {
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                    }
                    final String filename = entry.getName();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
                        if (extractor != null) {
                            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    return -1;
                }
            }
    
            @Override
            public String getContentType() {
                if (minioClient == null) {
                    return null;
                }
                try {
                    return getStatObject().contentType();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            @Override
            public InputStream getInputStream() throws IOException {
                return fileItem.getInputStream();
            }
    
            @Override
            public String getContentType() {
                return fileItem.getContentType();
            }
    
            @Override
            public int getFileSize() {
                return (int) fileItem.getSize();
            }
    
            @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/crawler/client/storage/StorageClient.java

                    try (final InputStream is = responseData.getResponseBody()) {
                        responseData.setMimeType(mimeTypeHelper.getContentType(is, statObject.object()));
                    } catch (final Exception e) {
                        responseData.setMimeType(mimeTypeHelper.getContentType(null, statObject.object()));
                    }
                }
            } catch (final CrawlerSystemException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                        try (InputStream is = new FileInputStream(tempFile)) {
                            responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName()));
                        } catch (final Exception e) {
                            responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName()));
                        }
    
                        if (contentLengthHelper != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            osddHelper.init();
            assertTrue(osddHelper.hasOpenSearchFile());
    
            final StreamResponse streamResponse = osddHelper.asStream();
            assertEquals("text/xml; charset=UTF-8", streamResponse.getContentType());
            streamResponse.getStreamCall().callback(new WrittenStreamOut() {
    
                @Override
                public void write(final InputStream ins) throws IOException {
                    assertEquals("""
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            final ExtractorFactory extractorFactory = getExtractorFactory();
            try {
                final String filename = getDecodeText(bodyPart.getFileName());
                final String mimeType = mimeTypeHelper.getContentType(null, filename);
                if (mimeType != null) {
                    final Extractor extractor = extractorFactory.getExtractor(mimeType);
                    if (extractor != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            final MimeTypeHelper mimeTypeHelper = getMimeTypeHelper();
            final ExtractorFactory extractorFactory = getExtractorFactory();
            final String mimeType = mimeTypeHelper.getContentType(null, filename);
            if (mimeType != null) {
                final Extractor extractor = extractorFactory.getExtractor(mimeType);
                if (extractor != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public int getContentLength () {
            handshake();
            return this.connection.getContentLength();
        }
    
    
        @Override
        public String getContentType () {
            handshake();
            return this.connection.getContentType();
        }
    
    
        @Override
        public String getContentEncoding () {
            handshake();
            return this.connection.getContentEncoding();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top