- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 147 for getComponents (0.13 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlExtractor", HtmlExtractor.class); htmlExtractor = container.getComponent("htmlExtractor"); htmlExtractor.addMetadata("title", "//TITLE"); } public void test_getHtml_utf8() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
} protected int getRunningJobCount() { final AtomicInteger counter = new AtomicInteger(0); final FessConfig fessConfig = ComponentUtil.getFessConfig(); ComponentUtil.getComponent(ScheduledJobBhv.class).selectCursor(cb -> { cb.query().setAvailable_Equal(Constants.T); cb.query().setCrawler_Equal(Constants.T); }, scheduledJob -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jun 23 04:13:47 UTC 2024 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
} protected static Path getPath(final String root, final String base, final String... names) { try { final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class); final String webinfPath = servletContext.getRealPath("/" + root + base); if (webinfPath != null && Files.exists(Paths.get(webinfPath))) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 08:52:32 UTC 2024 - 7.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("robotsTxtHelper", RobotsTxtHelper.class); robotsTxtHelper = container.getComponent("robotsTxtHelper"); } public void testParse() { RobotsTxt robotsTxt; final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt"); try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.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: Sat Oct 12 01:54:15 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
logger.info("Destroyed LaContainer."); } } private static int process(final Options options) { final Crawler crawler = ComponentUtil.getComponent(Crawler.class); if (StringUtil.isBlank(options.sessionId)) { // use a default session id final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} return userCode; }).orElse(null); } protected String getUserCodeFromUserBean(final HttpServletRequest request) { final SessionManager sessionManager = ComponentUtil.getComponent(SessionManager.class); String userCode = sessionManager.getAttribute(USER_BEAN, TypicalUserBean.class)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
protected Map<String, String> infoMap; protected Long documentExpires; protected int maxSessionIdsInList; protected CrawlingInfoService getCrawlingInfoService() { return ComponentUtil.getComponent(CrawlingInfoService.class); } public String getCanonicalSessionId(final String sessionId) { final int idx = sessionId.indexOf('-'); if (idx >= 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
entity.setCreatedTime(currentTime); return entity; }); case CrudMode.EDIT: if (form instanceof EditForm) { return ComponentUtil.getComponent(DuplicateHostService.class).getDuplicateHost(((EditForm) form).id); } break; default: break; } return OptionalEntity.empty(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
entity.setCreatedTime(currentTime); return entity; }); case CrudMode.EDIT: if (form instanceof EditForm) { return ComponentUtil.getComponent(KeyMatchService.class).getKeyMatch(((EditForm) form).id); } break; default: break; } return OptionalEntity.empty(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.5K bytes - Viewed (0)