Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for testcontent (0.34 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

        @Override
        public void close() throws IOException {
            if (contentCache != null) {
                contentCache.close();
            }
        }
    
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.doc");
            final String content = msWordExtractor.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)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        }
    
    
        @Override
        public Object getContent () throws IOException {
            handshake();
            return this.connection.getContent();
        }
    
    
        @Override
        public Object getContent ( Class[] classes ) throws IOException {
            handshake();
            return this.connection.getContent(classes);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType());
            String content = null;
            try (final InputStream in = responseData.getResponseBody()) {
                content = extractor.getText(in, params).getContent();
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not extract data.", e);
            }
    
            final ResultData resultData = new ResultData();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                    function getAllErrorCorrections() {
                        var changeElements = \$(".well pre");
                        var result = [];
                        changeElements.each((idx, val) => result.push(JSON.parse(val.textContent)));
                        return result;
                    }
    
                    function appendErrorCorrections(reason) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

        newDocumentBuilder()
            .parse(url)
            .getElementsByTagName("version").let { versions ->
                (0 until versions.length)
                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
        PropertiesUtils.store(this, file, comment, Charsets.ISO_8859_1, "\n")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

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

                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                                buf.append(extractor.getText(new IgnoreCloseInputStream(ais), map).getContent());
                                buf.append('\n');
                            } catch (final Exception e) {
                                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            try (final InputStream in = responseData.getResponseBody()) {
                final ExtractData extractData = getExtractData(extractor, in, createExtractParams(responseData, crawlingConfig));
                content = extractData.getContent();
                if (fessConfig.isCrawlerDocumentFileIgnoreEmptyContent() && StringUtil.isBlank(content)) {
                    return null;
                }
                if (getLogger().isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                                buf.append(extractor.getText(new IgnoreCloseInputStream(ais), map).getContent());
                                buf.append('\n');
                            } catch (final Exception e) {
                                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top