Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 148 for getComponent (0.11 sec)

  1. src/main/java/org/codelibs/fess/job/PythonJob.java

            }
    
            return resultBuf.toString();
    
        }
    
        protected void executePython() {
            final List<String> cmdList = new ArrayList<>();
            final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class);
            final ProcessHelper processHelper = ComponentUtil.getProcessHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isBlank(filename)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

            if (getUserInfoId() == null) {
                return OptionalEntity.empty();
            }
            if (userInfo == null) {
                final UserInfoBhv userInfoBhv = ComponentUtil.getComponent(UserInfoBhv.class);
                userInfo = userInfoBhv.selectByPK(getUserInfoId());
            }
            return userInfo;
        }
    
        public void setUserInfo(final OptionalEntity<UserInfo> userInfo) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class);
            sitemapsHelper = container.getComponent("sitemapsHelper");
        }
    
        public void test_parseXmlSitemaps() {
            final InputStream in = ResourceUtil.getResourceAsStream("sitemaps/sitemap1.xml");
            final SitemapSet sitemapSet = sitemapsHelper.parse(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            final CrawlingConfig crawlingConfig = getCrawlingConfig(crawlerContext.getSessionId());
            final String url = urlQueue.getUrl();
    
            final FailureUrlService failureUrlService = ComponentUtil.getComponent(FailureUrlService.class);
            return failureUrlService.store(crawlingConfig, errorName, url, e);
        }
    
        protected CrawlingConfig getCrawlingConfig(final String sessionCountId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

            this.excludeFilteringPattern = excludeFilteringPattern;
        }
    
        public UrlFilterService getUrlFilterService() {
            if (urlFilterService == null) {
                urlFilterService = crawlerContainer.getComponent("urlFilterService");
                if (urlFilterService == null) {
                    throw new CrawlerSystemException("urlFilterService is not found.");
                }
            }
            return urlFilterService;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

                        TikaExtractor tikaExtractor = container.getComponent("tikaExtractor");
                        factory.addExtractor("text/plain", tikaExtractor);
                        factory.addExtractor("text/html", tikaExtractor);
                    })//
            ;
    
            tikaExtractor = container.getComponent("tikaExtractor");
        }
    
        public void test_getTika_text() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("fsClient", FileSystemClient.class);
            fsClient = container.getComponent("fsClient");
        }
    
        public void test_doGet_dir() {
            final File file = ResourceUtil.getResourceAsFile("test");
            String path = file.getAbsolutePath();
            if (!path.startsWith("/")) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            load();
        }
    
        public List<KeyMatch> getAvailableKeyMatchList() {
            return ComponentUtil.getComponent(KeyMatchBhv.class).selectList(cb -> {
                cb.query().matchAll();
                cb.fetchFirst(ComponentUtil.getFessConfig().getPageKeymatchMaxFetchSizeAsInteger());
            });
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(StopwordsService.class).getStopwordsItem(form.dictId, ((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
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                return crawlerClientFactory;
            }
            final CrawlerClientFactory factory = creator.get();
    
            final FileAuthenticationService fileAuthenticationService = ComponentUtil.getComponent(FileAuthenticationService.class);
    
            //  Parameters
            final Map<String, Object> paramMap = new HashMap<>();
            factory.setInitParameterMap(paramMap);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top