Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for addMetaData (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    if (owner != null) {
                        responseData.addMetaData(FS_FILE_USER, owner.getName());
                    }
                }
    
                final AclFileAttributeView aclFileAttributeView = Files.getFileAttributeView(file.toPath(), AclFileAttributeView.class);
                if (aclFileAttributeView != null) {
                    responseData.addMetaData(FILE_ATTRIBUTE_VIEW, aclFileAttributeView);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
                    responseData.addMetaData(SMB_DENIED_SID_ENTRIES, sidDenySet.toArray(new SID[sidDenySet.size()]));
                }
            } catch (final IOException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
                    responseData.addMetaData(SMB_DENIED_SID_ENTRIES, sidDenySet.toArray(new SID[sidDenySet.size()]));
                }
            } catch (final IOException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/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)
  8. 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)
  9. 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)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
                            artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
                        } catch (NumberFormatException e) {
                            logger.warn("Invalid artifact version " + artifact.getVersion() + ": " + e.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top