- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 147 for getComponents (0.08 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java
super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("contentLengthHelper", ContentLengthHelper.class); contentLengthHelper = container.getComponent("contentLengthHelper"); } public void test_getMaxLength() { final String mimeType = "text/plain"; assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
protected ResponseProcessor responseProcessor; @Resource protected CrawlerContainer crawlerContainer; public void register(final int index) { final RuleManager ruleManager = crawlerContainer.getComponent("ruleManager"); ruleManager.addRule(index, this); } @Override public String getRuleId() { return ruleId; } public void setRuleId(final String ruleId) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 1.8K 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: Sun Nov 10 03:50:12 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/extractor/impl/EmlExtractorTest.java
TikaExtractor tikaExtractor = container.getComponent("tikaExtractor"); factory.addExtractor("application/pdf", tikaExtractor); }); emlExtractor = container.getComponent("emlExtractor"); } public void test_getText() throws IOException {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
} public void test_getContentType_filenameFirst() throws IOException { final MimeTypeHelperImpl mimeTypeHelper = container.getComponent("mimeTypeHelper"); mimeTypeHelper.useFilename = true; assertContentType("text/plain", "test/text1.txt", "hoge.txt"); assertContentType("text/plain", null, "hoge.txt");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java
final String className = clazz.getName(); if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) { // ## Assert ## markHere("exists"); getComponent(clazz); // expect no exception } }); assertMarked("exists"); } */ // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java
} public WebConfig getWebConfig() { if (webConfig == null) { final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class); try { webConfig = webConfigService.getWebConfig(getWebConfigId()).get(); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java
protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("textExtractor", TextExtractor.class); textExtractor = container.getComponent("textExtractor"); } public void test_getText() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test.txt"); final String content = textExtractor.getText(in, null).getContent();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java
*/ package org.codelibs.fess.crawler.container; import org.codelibs.core.lang.StringUtil; /** * @author shinsuke * */ public interface CrawlerContainer { <T> T getComponent(String name); boolean available(); void destroy(); default void initialize() { final StringBuilder buf = new StringBuilder(100);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
private boolean available = true; public StandardCrawlerContainer() { initialize(); } @Override public <T> T getComponent(final String name) { if ("crawlerContainer".equals(name)) { return (T) this; } final ComponentDef<?> componentDef = prototypeMap.get(name); if (componentDef != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 7.6K bytes - Viewed (0)