Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for getContext (0.11 sec)

  1. test-site/activator-launch-1.3.2.jar

    private StringBuffer buffer; public void ContextualSAXHandler(); public void characters(char[], int, int); public void startElement(String, String, String, org.xml.sax.Attributes); public void endElement(String, String, String); protected final String getContext(); protected final String getText(); } org/apache/ivy/util/XMLHelper.class package org.apache.ivy.util; public abstract synchronized class XMLHelper { private static boolean canUseSchemaValidati; private static javax.xml.parsers.SAXParser newSA...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/eml/sample1.eml")) {
                ExtractData data = emlExtractor.getText(in, null);
                final String content = data.getContent();
                logger.info(content);
                assertTrue(content.contains("プレイステーション"));
                assertTrue(data.getValues("Subject")[0].contains("ダイジェスト"));
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                    } else {
                        String content;
                        try {
                            content = new String(InputStreamUtil.getBytes(entity.getContent()), Constants.UTF_8_CHARSET);
                        } catch (final IOException e) {
                            content = e.getMessage();
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        public Object getContent() throws IOException {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getContent();
        }
    
        public Object getContent(Class[] classes) throws IOException {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getContent(classes);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test.pdf");
            final ExtractData extractData = pdfExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("Writer", extractData.getValues("Creator")[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                    } else {
                        pair.getSecond().add(new Pair<>(Pattern.compile(regex), entity.getContent()));
                    }
                } else {
                    pair.getFirst().put(toLowerCase(entity.getTerm()), entity.getContent());
                }
            });
            this.relatedContentMap = relatedContentMap;
            return relatedContentMap.size();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                    .param("size", ComponentUtil.getFessConfig().getPageDictionaryMaxFetchSize()).execute()) {
                final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
                @SuppressWarnings("unchecked")
                final List<Map<String, Object>> fileList = (List<Map<String, Object>>) contentMap.get("file");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java

        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test.txt");
            final String content = textExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

        public void test_builder() {
            assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent());
            assertEquals("test",
                    extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent());
        }
    
        public void test_addExtractor_weight() {
            final String key = "application/test";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    final Parser parser = new TikaDetectParser();
                    final ParseContext parseContext = createParseContext(parser, params);
    
                    String content = getContent(writer -> {
                        InputStream in = null;
                        try {
                            if (!isByteStream) {
                                try (OutputStream out = new FileOutputStream(tempFile)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top