Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for getComponent (0.12 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("encodingHelper", EncodingHelper.class);
            encodingHelper = container.getComponent("encodingHelper");
        }
    
        public void test_normalize() {
            String enc;
    
            enc = "UTF-8";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractorTest.java

            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("msExcelExtractor", MsExcelExtractor.class);
            msExcelExtractor = container.getComponent("msExcelExtractor");
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.xls");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractorTest.java

            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("msPowerPointExtractor", MsPowerPointExtractor.class);
            msPowerPointExtractor = container.getComponent("msPowerPointExtractor");
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.ppt");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            }
            final CrawlerClientFactory factory = creator.get();
    
            final WebAuthenticationService webAuthenticationService = ComponentUtil.getComponent(WebAuthenticationService.class);
            final RequestHeaderService requestHeaderService = ComponentUtil.getComponent(RequestHeaderService.class);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            // HttpClient Parameters
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            load();
        }
    
        public List<RelatedQuery> getAvailableRelatedQueryList() {
    
            return ComponentUtil.getComponent(RelatedQueryBhv.class).selectList(cb -> {
                cb.query().matchAll();
                cb.query().addOrderBy_Term_Asc();
                cb.fetchFirst(ComponentUtil.getFessConfig().getPageRelatedqueryMaxFetchSizeAsInteger());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

            }
            if (duplicateHostList == null) {
                duplicateHostList = new ArrayList<>();
            }
            final DuplicateHostService duplicateHostService = ComponentUtil.getComponent(DuplicateHostService.class);
            duplicateHostList.addAll(duplicateHostService.getDuplicateHostList());
        }
    
        public void setDuplicateHostList(final List<DuplicateHost> duplicateHostList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

        @Resource
        protected CrawlerContainer crawlerContainer;
    
        @Override
        public void process(final ResponseData responseData) {
            final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
            try (final InputStream responseBody = responseData.getResponseBody()) {
                final SitemapSet sitemapSet = sitemapsHelper.parse(responseBody);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                        toAddresses = toStrs.split(",");
                    } else {
                        toAddresses = StringUtil.EMPTY_STRINGS;
                    }
                    final Postbox postbox = ComponentUtil.getComponent(Postbox.class);
                    try {
                        final NotificationHelper notificationHelper = ComponentUtil.getNotificationHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

            scheduledJobService.start(cron);
    
            final String myName = fessConfig.getSchedulerTargetName();
            if (StringUtil.isNotBlank(myName)) {
                ComponentUtil.getComponent(JobLogBhv.class).queryDelete(cb -> {
                    cb.query().setJobStatus_Equal(Constants.RUNNING);
                    cb.query().setTarget_Equal(myName);
                });
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("urlConvertHelper", UrlConvertHelper.class);
            urlConvertHelper = container.getComponent("urlConvertHelper");
        }
    
        public void test_convert() {
            String url;
    
            url = "http://hoge.com/http/fuga.html";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top