- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for SitemapsHelper (0.27 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
import org.xml.sax.SAXNotSupportedException; import org.xml.sax.helpers.DefaultHandler; /** * @author shinsuke * */ public class SitemapsHelper { private static final Logger logger = LoggerFactory.getLogger(SitemapsHelper.class); protected int preloadSize = 512; public boolean isValid(final InputStream in) { return isValid(in, true); }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java
import org.codelibs.fess.crawler.helper.SitemapsHelper; import org.codelibs.fess.crawler.processor.ResponseProcessor; /** * @author shinsuke * */ public class SitemapsResponseProcessor implements ResponseProcessor { @Resource protected CrawlerContainer crawlerContainer; @Override public void process(final ResponseData responseData) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
*/ public class SitemapsHelperTest extends PlainTestCase { public SitemapsHelper sitemapsHelper; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class); sitemapsHelper = container.getComponent("sitemapsHelper"); } public void test_parseXmlSitemaps() {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
@Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)// .singleton("sitemapsRule", SitemapsRule.class); sitemapsRule = container.getComponent("sitemapsRule"); } public void test_match() { assertMatchTrue(getTestData1_OK());
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
if (super.match(responseData)) { try (final InputStream is = responseData.getResponseBody()) { final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper"); return sitemapsHelper.isValid(is); } catch (final CrawlingAccessException e) { throw e; } catch (final Exception e) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
public RuleManager ruleManager; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)// .singleton("sitemapsRule", SitemapsRule.class)// .singleton("fileRule", RegexRule.class)// .singleton("ruleManager", RuleManagerImpl.class);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
.singleton("urlConvertHelper", UrlConvertHelper.class).singleton("intervalController", DefaultIntervalController.class) .singleton("sitemapsHelper", SitemapsHelper.class).singleton("logHelper", LogHelperImpl.class) .singleton("encodingHelper", EncodingHelper.class).singleton("contentLengthHelper", ContentLengthHelper.class)
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0)