Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for converter (0.09 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         */
        public void setScrollSize(final int scrollSize) {
            this.scrollSize = scrollSize;
        }
    
        /**
         * Converter for handling timestamps in OpenSearch.
         */
        protected static class EsTimestampConverter implements Converter {
            /**
             * Creates a new instance of EsTimestampConverter.
             */
            public EsTimestampConverter() {
                // NOP
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            }
            return targetList;
        }
    
        /**
         * Extracts a field value from OpenSearch results and converts it to the specified type.
         *
         * @param <T> The target type.
         * @param field The field value from OpenSearch.
         * @param clazz The target class.
         * @return The converted field value.
         */
        @SuppressWarnings("unchecked")
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

        }
    
        /**
         * A map for URL conversion.
         */
        protected Map<String, String> convertMap = new LinkedHashMap<>();
    
        /**
         * Converts a URL.
         *
         * @param url The URL.
         * @return A converted URL.
         */
        public String convert(final String url) {
            if (url == null) {
                return null;
            }
            String convertedUrl = url;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

            } catch (final UnsupportedEncodingException e) {
                return host;
            }
        }
    
        /**
         * Converts the given host string to ASCII using IDN.
         *
         * @param host the host string to convert
         * @return the ASCII representation of the host string
         */
        protected String toAscii(final String host) {
            return IDN.toASCII(decode(host), flag);
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                FileUtil.deleteInBackground(inputFile);
                FileUtil.deleteInBackground(outputFile);
            }
        }
    
        /**
         * Gets the output content from the converted file.
         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                }
            }
            return defaultValue;
        }
    
        /**
         * Converts an object to the specified class type.
         * @param <T> The target type.
         * @param value The object to convert.
         * @param clazz The class type to convert to.
         * @return The converted object.
         */
        @SuppressWarnings("unchecked")
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            url = "tp://hoge.com/http/fuga.html";
            assertEquals("tp://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            urlConvertHelper.add("^tp:", "http:");
    
            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            url = "tp://hoge.com/http/fuga.html";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            return childUrlRuleMap.entrySet().stream().map(e -> new Pair<>(e.getKey(), e.getValue()));
        }
    
        /**
         * Converts child URLs using the URL convert helper.
         *
         * @param requestDataList the list of request data to convert
         * @return the converted list of request data
         */
        protected List<RequestData> convertChildUrlList(final List<RequestData> requestDataList) {
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

                } catch (final Exception e) {
                    throw new OpenSearchAccessException("data: " + dataStr, e);
                }
            }
        }
    
        /**
         * Converts this access result data to XContent format for OpenSearch indexing.
         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

         */
        public static final String CREATE_TIME = "createTime";
    
        /**
         * Field name for weight.
         */
        public static final String WEIGHT = "weight";
    
        /**
         * Converts this URL queue entry to XContent format for OpenSearch indexing.
         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top