- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for crawlerContainer (0.22 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java
* governing permissions and limitations under the License. */ 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/rule/impl/AbstractRule.java
protected String ruleId; 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;
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/processor/impl/SitemapsResponseProcessor.java
/** * @author shinsuke * */ public class SitemapsResponseProcessor implements ResponseProcessor { @Resource protected CrawlerContainer crawlerContainer; @Override public void process(final ResponseData responseData) { final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper"); try (final InputStream responseBody = responseData.getResponseBody()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java
import java.util.Map; import org.codelibs.fess.crawler.container.CrawlerContainer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jakarta.annotation.Resource; public class CrawlerClientCreator { private static final Logger logger = LoggerFactory.getLogger(CrawlerClientCreator.class); @Resource protected CrawlerContainer crawlerContainer;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
public abstract class AbstractExtractor implements Extractor { @Resource protected CrawlerContainer crawlerContainer; public void register(final List<String> keyList) { getExtractorFactory().addExtractor(keyList, this); } protected MimeTypeHelper getMimeTypeHelper() { final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper"); if (mimeTypeHelper == null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
private final Map<String, String> params; private final CrawlerContainer crawlerContainer; private String mimeType; private String filename; private int cacheFileSize = 1_000_000; private String extractorName = "tikaExtractor"; private long maxContentLength = -1; protected ExtractorBuilder(final CrawlerContainer crawlerContainer, final InputStream in, final Map<String, String> params) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
import org.codelibs.fess.crawler.container.CrawlerContainer; import jakarta.annotation.Resource; /** * * @param <T> Pooled object * * @author shinsuke */ public class CrawlerPooledObjectFactory<T> extends BasePooledObjectFactory<T> { @Resource protected CrawlerContainer crawlerContainer; protected String componentName;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
public class ExtractorFactory { private static final Logger logger = LoggerFactory.getLogger(ExtractorFactory.class); @Resource protected CrawlerContainer crawlerContainer; protected Map<String, Extractor> extractorMap = new HashMap<>(); public void addExtractor(final String key, final Extractor extractor) { if (StringUtil.isBlank(key)) { throw new CrawlerSystemException("The key is null."); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:57 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java
* */ public class DefaultResponseProcessor implements ResponseProcessor { private static final Logger logger = LoggerFactory.getLogger(DefaultResponseProcessor.class); @Resource protected CrawlerContainer crawlerContainer; protected Transformer transformer; protected int[] successfulHttpCodes; protected int[] notModifiedHttpCodes; @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
@Resource protected CrawlerContainer crawlerContainer; protected Map<Pattern, CrawlerClient> clientMap = new LinkedHashMap<>(); @PostConstruct public void init() { try { final CrawlerClientCreator creator = crawlerContainer.getComponent("crawlerClientCreator"); if (creator != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 4.7K bytes - Viewed (0)