Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for setTransformerName (0.13 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

        public static final String ENCODING = "encoding";
    
        public OpenSearchAccessResultData() {
        }
    
        public OpenSearchAccessResultData(final Map<String, Object> src) {
            setTransformerName((String) src.get(TRANSFORMER_NAME));
            setEncoding((String) src.get(ENCODING));
            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        }
    
        public void removeUrl(final RequestData url) {
            childUrlSet.remove(url);
        }
    
        public String getTransformerName() {
            return transformerName;
        }
    
        public void setTransformerName(final String transformerName) {
            this.transformerName = transformerName;
        }
    
        public Set<RequestData> getChildUrlSet() {
            return childUrlSet;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                final ResultData resultData = new ResultData();
                resultData.setData(new byte[0]);
                resultData.setEncoding(Constants.UTF_8);
                resultData.setTransformerName(Constants.NO_TRANSFORMER);
                processResult(urlQueue, responseData, resultData);
            } else if (isSuccessful(responseData)) {
                if (transformer == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

                throw new CrawlingAccessException("No response body.");
            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) {
                resultData.setData(IOUtils.toByteArray(bis));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                targetFile = file;
            }
            return targetFile;
        }
    
        @Override
        public void storeData(final ResponseData responseData, final ResultData resultData) {
            resultData.setTransformerName(getName());
    
            initBaseDir();
    
            final String url = responseData.getUrl();
            final String path = getFilePath(url);
    
            synchronized (this) {
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                }
                buf.append(getAdditionalData(responseData, doc));
                buf.append(getResultDataFooter());
    
                final ResultData resultData = new ResultData();
                resultData.setTransformerName(getName());
    
                final String data = buf.toString().trim();
                try {
                    resultData.setData(data.getBytes(charsetName));
                } catch (final UnsupportedEncodingException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            // encoding
            updateCharset(responseData);
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try {
                // data
                storeData(responseData, resultData);
    
                if (isHtml(responseData) && !responseData.isNoFollow()) {
                    // urls
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                throw new CrawlingAccessException("No response body.");
            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
            try {
                resultData.setData(SerializeUtil.fromObjectToBinary(generateData(responseData)));
            } catch (final Exception e) {
    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