Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for getText (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            try {
                tikaExtractor.getText(in, null);
                fail();
            } catch (final ExtractException e) {
                logger.info(e.getMessage());
            }
        }
    
        public void test_getTika_tar() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/tar/test.tar");
            final ExtractData extractData = tikaExtractor.getText(in, null);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

        protected boolean isDaemonThread = false;
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.extractor.Extractor#getText(java.io.InputStream,
         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

        protected Properties mailProperties = new Properties();
    
        /* (non-Javadoc)
         * @see org.codelibs.robot.extractor.Extractor#getText(java.io.InputStream, java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            final Properties props = new Properties(mailProperties);
            if (params != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            }
        }
    
        @Override
        public ExtractData getText(final InputStream inputStream, final Map<String, String> params) {
            return getText(inputStream, params, null);
        }
    
        protected ExtractData getText(final InputStream inputStream, final Map<String, String> params,
                final BiConsumer<ExtractData, InputStream> postFilter) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        protected boolean standardOutput = false;
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.extractor.Extractor#getText(java.io.InputStream,
         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                } catch (final IOException e) {
                    logger.error("Failed to close httpClient.", e);
                }
            }
        }
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (logger.isDebugEnabled()) {
                logger.debug("Accessing {}", url);
            }
    
            // start
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.queryFreq = queryFreq;
            timestamp = ZonedDateTime.now();
            emptySource = createEmptyMap();
            id = SuggestUtil.createSuggestTextId(this.text);
        }
    
        public String getText() {
            return text;
        }
    
        public String[][] getReadings() {
            return readings;
        }
    
        public String[] getTags() {
            return tags;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected Object parsePrimitive(final JsonParser jsonParser) throws IOException {
            final JsonToken token = jsonParser.getCurrentToken();
            return switch (token) {
            case VALUE_STRING -> jsonParser.getText();
            case VALUE_NUMBER_INT -> jsonParser.getLongValue();
            case VALUE_NUMBER_FLOAT -> jsonParser.getDoubleValue();
            case VALUE_TRUE -> true;
            case VALUE_FALSE -> false;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            firstLineInnerMap.put("_id", item.getId());
            firstLineMap.put("index", firstLineInnerMap);
    
            final Map<String, Object> secondLine = new HashMap<>();
    
            secondLine.put("text", item.getText());
    
            // reading
            final String[][] readings = item.getReadings();
            for (int i = 0; i < readings.length; i++) {
                secondLine.put("reading_" + i, readings[i]);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            // simple bean? assumes string constructor
            if (parser.next() == XmlPullParser.TEXT) {
                final String text = parser.getText();
    
                // confirm element doesn't contain nested XML
                if (parser.next() != XmlPullParser.START_TAG) {
                    return convertText(text, clazz == rawType ? toType : TypeLiteral.get(clazz));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top