Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for putValues (0.14 sec)

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

                putValue(data, "File-Name", message.getFileName());
                putValue(data, "From", message.getFrom());
                putValue(data, "Line-Count", message.getLineCount());
                putValue(data, "Message-ID", message.getMessageID());
                putValue(data, "Message-Number", message.getMessageNumber());
                putValue(data, "Received-Date", getReceivedDate(message));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                final ExtractData extractData = new ExtractData(new String(FileUtil.readBytes(outputFile), outputEncoding));
                if (StringUtil.isNotBlank(resourceName)) {
                    extractData.putValues("resourceName", new String[] { resourceName });
                }
    
                return extractData;
            } catch (final IOException e) {
                throw new ExtractException("Could not extract a content.", e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    final ExtractData extractData = new ExtractData(content);
                    extractData.putValue("Content-Length", Long.toString(contentLength));
    
                    final String[] names = metadata.names();
                    Arrays.sort(names);
                    for (final String name : names) {
                        extractData.putValues(name, metadata.getValues(name));
                    }
    
                    if (postFilter != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                data.setContent(EntityUtils.toString(response.getEntity(), Charsets.UTF_8));
                final Header[] headers = response.getAllHeaders();
                for (final Header header : headers) {
                    data.putValue(header.getName(), header.getValue());
                }
            } catch (final IOException e) {
                throw new ExtractException(e);
            } finally {
                if (accessTimeout != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            }
        }
    
        protected void addMetadata(final ExtractData extractData, final String name, final String value) {
            if (value != null) {
                extractData.putValue(name, value);
            }
        }
    
        public long getTimeout() {
            return timeout;
        }
    
        public void setTimeout(final long timeout) {
            this.timeout = timeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top