- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for valid (0.01 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java
*/ public void setValue(final String value) { this.value = value; } /** * Checks if the request header is valid. * A header is considered valid if its name is not blank and its value is not null. * @return true if the header is valid, false otherwise. */ public boolean isValid() { if (StringUtil.isBlank(name) || value == null) { return false; }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CharUtil.java
/** * Checks if the given character is a valid URL character. * * Valid URL characters include: * - Lowercase letters (a-z) * - Uppercase letters (A-Z) * - Digits (0-9) * - Special characters: . - * _ : / + % = & ? # [ ] @ ~ ! $ ' ( ) , ; * * @param c the character to check * @return {@code true} if the character is a valid URL character, {@code false} otherwise */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.3K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
/** * Use an XPath string to select a nodelist. * XPath namespace prefixes are resolved from the contextNode. * * @param contextNode The node to start searching from. * @param expression A valid XPath string. * @return A XPathNodes, should never be null. * * @throws XPathExpressionException if an XPath expression error occurs. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
} /** * Checks if the given input stream contains valid sitemap data. * @param in the input stream to validate * @return true if the stream contains valid sitemap data, false otherwise */ public boolean isValid(final InputStream in) { return isValid(in, true); } /** * Checks if the given input stream contains valid sitemap data. * @param in the input stream to validateRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Invalid regex pattern should be handled gracefully urlFilter.addInclude(".*[invalid"); urlFilter.addInclude("https://valid.com/.*"); // Valid pattern should still work assertTrue(urlFilter.match("https://valid.com/page")); } /** * Test adding a single exclude pattern */ public void test_addExclude_singlePattern() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java
private String lastmod; /** * How frequently the page is likely to change. This value provides general * information to search engines and may not correlate exactly to how often * they crawl the page. Valid values are: * <ul> * <li>always</li> * <li>hourly</li> * <li>daily</li> * <li>weekly</li> * <li>monthly</li> * <li>yearly</li> * <li>never</li> * </ul>Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
import org.codelibs.fess.crawler.helper.SitemapsHelper; /** * SitemapsRule is a rule implementation that extends RegexRule to determine if a given response data * represents a valid sitemap. It uses a SitemapsHelper to validate the response body as an InputStream. * The rule checks if the URL matches the defined regex pattern and then validates the content as a sitemap.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* String normalized = normalizer.normalize("ガギグゲゴ", "field"); * System.out.println(normalized); // Outputs: ガギグゲゴ * } * </pre> * * <p>Note: This class assumes that the input string contains valid Hankaku Kana characters * and does not perform any validation on the input.</p> * * @see Normalizer */ public class HankakuKanaToZenkakuKana implements Normalizer { /**
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
urlQueueService.offerAll(crawlerContext.sessionId, childList); } } /** * Validates whether the URL queue entry is valid for crawling. * @param urlQueue The URL queue entry to validate. * @return true if valid, false otherwise. */ protected boolean isValid(final UrlQueue<?> urlQueue) { if (urlQueue == null || StringUtil.isBlank(urlQueue.getUrl())
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
} /** * Strips invalid XML characters from the input string. * * This method removes characters that are not allowed in XML documents * according to the XML 1.0 specification. Valid characters include: * - Tab (0x9) * - Line feed (0xA) * - Carriage return (0xD) * - Any character between 0x20 and 0xD7FF * - Any character between 0xE000 and 0xFFFDRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0)