Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for Value (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

         * Additionally, it strips invalid XML characters from the input string.
         *
         * @param value the input string to be escaped
         * @return the escaped XML string with invalid characters removed
         */
        public static String escapeXml(final String value) {
            return stripInvalidXMLCharacters(//
                    value//
                            .replace("&", "&") //
                            .replace("<", "&lt;")//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            } finally {
                server.stop();
            }
        }
    
        public void test_parseLastModified() {
            final String value = "Mon, 01 Jun 2009 21:02:45 GMT";
            final Date date = httpClient.parseLastModifiedDate(value);
            assertNotNull(date);
        }
    
        public void test_processRobotsTxt() {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                }
            } else if (clazz.isAssignableFrom(Float.class)) {
                if (!(value instanceof Float)) {
                    return (T) Float.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Boolean.class) && !(value instanceof Boolean)) {
                return (T) Boolean.valueOf(value.toString());
            }
            return (T) value;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/form/FormSchemeTest.java

            String tokenPattern = "name=\"authenticity_token\" +value=\"([^\"]+)\"";
            String content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertEquals("abcdefg", formScheme.getTokenValue(tokenPattern, content));
    
            tokenPattern = "name=\"authenticity_token\" +value=\"[^\"]+\"";
            content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            value = "ftp://123.123.123.123:9999/";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

        /**
         * Trims space characters from the value.
         * @param value The value to trim.
         * @return The trimmed value.
         */
        protected String trimSpace(final String value) {
            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
            maxLengthMap.put(mimeType, maxLength);
        }
    
        /**
         * Gets the maximum content length for a specific MIME type.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        public void test_preprocessUri() {
            String value;
            String result;
    
            value = "file://test.txt";
            result = "file://test.txt";
            assertEquals(result, fsClient.preprocessUri(value));
    
            value = "file://test test.txt";
            result = "file://test%20test.txt";
            assertEquals(result, fsClient.preprocessUri(value));
    
            value = "file://ใƒ†ใ‚นใƒˆ.txt";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

         *
         * @param key   the key of the feature
         * @param value the value of the feature
         */
        public void addFeature(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
                throw new CrawlerSystemException("key or value is null.");
            }
    
            featureMap.put(key, value);
        }
    
        /**
         * Adds a property to the extractor.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/ProlongedSoundMarkCharFilterFactory.java

                final Settings settings) {
            super(indexSettings, name);
            final String value = settings.get("replacement");
            if (value == null || value.length() == 0) {
                replacement = '\u30fc';
            } else {
                replacement = value.charAt(0);
            }
        }
    
        @Override
        public Reader create(final Reader tokenStream) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top