Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 197 for mimetype (0.07 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            });
    
        }
    
        protected boolean isImageMimeType(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if (mimeType == null) {
                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/resources/crawler/rule.xml

    		</property>
    		<property name="allRequired">true</property>
    		<postConstruct name="addRule">
    			<arg>"url"</arg>
    			<arg>"http[s]?:.*"</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>"mimeType"</arg>
    			<!-- Supported MIME type -->
    			<arg>"text/html"</arg>
    		</postConstruct>
    	</component>
    
    	<component name="webFileRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule" >
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            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) {
                        try (final InputStream in = bodyPart.getInputStream()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

            assertArgumentNotEmpty("path", path);
    
            final InputStream is = ResourceUtil.getResourceAsStream(path);
            try {
                final String mimetype = URLConnection.guessContentTypeFromStream(is);
                if (mimetype != null) {
                    return mimetype;
                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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) {
                            InputStream is = null;
                            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/resources/mapping/data.json

    {
        "properties": {
          "parentUrl": {
            "type": "keyword"
          },
          "method": {
            "type": "keyword"
          },
          "mimeType": {
            "type": "keyword"
          },
          "sessionId": {
            "type": "keyword"
          },
          "url": {
            "type": "keyword"
          },
          "executionTime": {
            "type": "long"
          },
          "createTime": {
            "type": "long"
          },
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.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.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        public void setContentLength(final long contentLength) {
            this.contentLength = contentLength;
        }
    
        public String getMimeType() {
            return mimeType;
        }
    
        public void setMimeType(final String contentType) {
            mimeType = contentType;
        }
    
        public String getUrl() {
            return url;
        }
    
        public void setUrl(final String url) {
            this.url = url;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            final ExtractorFactory extractorFactory = getExtractorFactory();
            final String mimeType = mimeTypeHelper.getContentType(null, filename);
            if (mimeType != null) {
                final Extractor extractor = extractorFactory.getExtractor(mimeType);
                if (extractor != null) {
                    try (COSInputStream is = embeddedFile.createInputStream()) {
    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. 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)
Back to top