Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for addMetaData (0.12 sec)

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

                return;
            }
    
            for (final String key : info.getMetadataKeys()) {
                final String value = info.getCustomMetadataValue(key);
                addMetadata(extractData, key, value);
            }
        }
    
        protected void addMetadata(final ExtractData extractData, final String name, final String value) {
            if (value != null) {
                extractData.putValue(name, value);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlExtractor", HtmlExtractor.class);
            htmlExtractor = container.getComponent("htmlExtractor");
            htmlExtractor.addMetadata("title", "//TITLE");
        }
    
        public void test_getHtml_utf8() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public void setNoFollow(final boolean value) {
            noFollow = value;
        }
    
        public boolean isNoFollow() {
            return noFollow;
        }
    
        public void addMetaData(final String name, final Object value) {
            metaDataMap.put(name, value);
        }
    
        public Map<String, Object> getMetaDataMap() {
            return metaDataMap;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                responseData.setMimeType(statObject.contentType());
                statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond()));
    
                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            } else {
                metadata = new SnapshotArtifactRepositoryMetadata(artifact);
            }
    
            repositoryMetadataManager.resolve(metadata, request);
    
            artifact.addMetadata(metadata);
    
            Metadata repoMetadata = metadata.getMetadata();
            String version = null;
            if (repoMetadata != null && repoMetadata.getVersioning() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            sb.append(getType());
            if (hasClassifier()) {
                sb.append(':');
                sb.append(getClassifier());
            }
        }
    
        @Override
        public void addMetadata(ArtifactMetadata metadata) {
            if (metadataMap == null) {
                metadataMap = new HashMap<>();
            }
    
            ArtifactMetadata m = metadataMap.get(metadata.getKey());
            if (m != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

            if (cachedXPathAPI == null) {
                cachedXPathAPI = new XPathAPI();
                xpathAPI.set(cachedXPathAPI);
            }
            return cachedXPathAPI;
        }
    
        public void addMetadata(final String name, final String xpath) {
            metadataXpathMap.put(name, xpath);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                checkMaxContentLength(responseData);
    
                if (file.getUser() != null) {
                    responseData.addMetaData(FTP_FILE_USER, file.getUser());
                }
                if (file.getGroup() != null) {
                    responseData.addMetaData(FTP_FILE_GROUP, file.getGroup());
                }
    
                if (includeContent) {
                    File tempFile = 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)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                    return false;
                };
            };
    
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/");
            responseData.addMetaData("X-Robots-Tag", "noindex,nofollow");
    
            try {
                transformer.processXRobotsTag(responseData, new ResultData());
                fail();
            } catch (ChildUrlsException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                buf.append(' ').append(fileName);
            }
            final String bodyBase = buf.toString().trim();
            responseData.addMetaData(Extractor.class.getSimpleName(), extractor);
            final String body = documentHelper.getContent(crawlingConfig, responseData, bodyBase, dataMap);
            putResultDataBody(dataMap, fessConfig.getIndexFieldContent(), body);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top