- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Expression (0.09 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* @param expression A valid XPath string. * @return A XPathNodes, should never be null. * * @throws XPathExpressionException if an XPath expression error occurs. */ public XPathNodes selectNodeList(final Node contextNode, final String expression) throws XPathExpressionException { return xPath.evaluateExpression(expression, contextNode, XPathNodes.class); } /**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/client/CrawlerClientFactory.java
} } /** * Adds a client with a regular expression pattern. * @param regex The regular expression to match URLs. * @param client The CrawlerClient instance. */ public void addClient(final String regex, final CrawlerClient client) { if (StringUtil.isBlank(regex)) { throw new CrawlerSystemException("A regular expression is null."); } if (client == null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
*/ public PasswordBasedExtractor() { super(); } /** * Adds a password for files matching the given regular expression pattern. * @param regex the regular expression pattern to match against URLs or resource names * @param password the password to use for matching files */ public void addPassword(final String regex, final String password) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 5.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java
boolean match(String url); /** * Add an url pattern as a target. * * @param urlPattern Regular expression that is crawled */ void addInclude(String urlPattern); /** * Add an url pattern as a non-target. * * @param urlPattern Regular expression that is not crawled */ void addExclude(String urlPattern); /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java
* @return a list of compiled regular expression patterns representing the URLs to include */ List<Pattern> getIncludeUrlPatternList(String sessionId); /** * Retrieves a list of URL patterns to be excluded for a given session. * * @param sessionId the identifier of the session for which to retrieve the exclude URL patterns * @return a list of compiled regular expression patterns representing the URLs to be excludedRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
} /** * Adds a regular expression rule for the specified field. * @param key the field name to match against * @param regex the regular expression pattern */ public void addRule(final String key, final String regex) { regexMap.put(key, Pattern.compile(regex)); } /** * Adds a compiled regular expression rule for the specified field.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java
clientFactoryList.remove(0); } } /** * Registers a client component with a regular expression. * The component will be loaded into all registered CrawlerClientFactories. * @param regex The regular expression to match URLs. * @param componentName The name of the component to register. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
* It uses XPath expressions to extract text content from HTML documents. * <p> * This class provides methods to configure the XPath expressions, parser features, and properties. * It also includes caching mechanism for XPathAPI instances to improve performance. * </p> * <p> * The extracted text is obtained from the nodes selected by the {@code targetNodePath} XPath expression.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
} finally { xpathAPI.remove(); } } /** * Extracts strings from a document using the specified XPath expression. * * @param document the DOM document to extract strings from * @param path the XPath expression to evaluate * @return an array of strings extracted from the document */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
@Override public void close() { clientFactory.close(); } /** * Adds an include filter for URLs. * Only URLs matching this regular expression will be crawled. * @param regexp The regular expression for the include filter. */ public void addIncludeFilter(final String regexp) { if (StringUtil.isNotBlank(regexp)) { urlFilter.addInclude(regexp); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14K bytes - Viewed (0)