- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for getRule (0.16 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
responseData.setResponseBody(new byte[0]); final Rule rule = ruleManager.getRule(responseData); assertNotNull(rule); assertEquals("fileRule", rule.getRuleId()); CloseableUtil.closeQuietly(responseData); } public void test_checkRule() { final Rule rule = ruleManager.getRule(new ResponseData()); assertNotNull(rule);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
protected final List<Rule> ruleList = new ArrayList<>(); /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.rule.RuleManager#getRule(org.codelibs.fess.crawler.entity.ResponseData) */ @Override public Rule getRule(final ResponseData responseData) { for (final Rule rule : ruleList) { if (rule.match(responseData)) { return rule; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java
*/ package org.codelibs.fess.crawler.rule; import org.codelibs.fess.crawler.entity.ResponseData; /** * @author shinsuke * */ public interface RuleManager { Rule getRule(ResponseData responseData); void addRule(Rule rule); void addRule(int index, Rule rule); boolean removeRule(Rule rule); boolean hasRule(Rule rule);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 967 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
responseData.setSessionId(crawlingInfoId); final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class); final Rule rule = ruleManager.getRule(responseData); if (rule == null) { throw new CrawlingAccessException("No url rule for " + url); } responseData.setRuleId(rule.getRuleId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
} return true; } protected void processResponse(final UrlQueue<?> urlQueue, final ResponseData responseData) { // get a rule final Rule rule = crawlerContext.ruleManager.getRule(responseData); if (rule == null) { log(logHelper, LogType.NO_RULE, crawlerContext, urlQueue, responseData); } else { responseData.setRuleId(rule.getRuleId());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
} final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class); final Rule rule = ruleManager.getRule(responseData); if (rule == null) { logger.warn("No url rule. Data: {}", dataMap); } else { responseData.setRuleId(rule.getRuleId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
@Override public void artifactInstalling(RepositoryEvent event) { logger.info("Installing {} to {}", event.getArtifact().getFile(), event.getFile()); } @Override public void metadataInstalling(RepositoryEvent event) { logger.debug("Installing {} to {}", event.getMetadata(), event.getFile()); } @Override public void metadataResolved(RepositoryEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java
} public void artifactInstalled(RepositoryEvent event) { println("artifactInstalled", event.getArtifact() + " to " + event.getFile()); } public void artifactInstalling(RepositoryEvent event) { println("artifactInstalling", event.getArtifact() + " to " + event.getFile()); } public void artifactResolved(RepositoryEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertFalse(result.isMissing()); assertTrue(result.isResolved()); Artifact artifact = result.getArtifact(); assertNotNull(artifact.getFile()); assertEquals(filename, artifact.getFile().getName()); } @Test void testResolveArtifacts() throws Exception { ArtifactRequest req1 = new ArtifactRequest();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
return new ByteArrayInputStream(out.getData()); } return new FileInputStream(out.getFile()); } protected long getContentLength(final DeferredFileOutputStream out) throws IOException { if (out.isInMemory()) { return out.getData().length; } return out.getFile().length(); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0)