Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 998 for CONTENT (0.03 sec)

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

            Map<String, String> params = new HashMap<>();
            params.put("Content-Type", "text/plain");
            final ExtractData extractData = tikaExtractor.getText(in, params);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        // TODO tika needs to support pdfbox 2.0
        //    public void test_getTika_pdf() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            assertTrue(content.contains("画像1"));
            assertTrue(content.contains("画像2"));
            assertTrue(content.contains("タイトル1"));
            assertTrue(content.contains("タイトル2"));
            assertTrue(content.contains("リンク1"));
        }
    
        public void test_getHtml_empty() {
            final InputStream in = new ByteArrayInputStream("".getBytes());
            final String content = htmlXpathExtractor.getText(in, null).getContent();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing related content configurations.
     * This class provides functionality to load, cache, and retrieve related content
     * based on search queries and virtual host configurations. It supports both exact
     * term matching and regex pattern matching for flexible content association.
     */
    public class RelatedContentHelper extends AbstractConfigHelper {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            }
    
            return encoding;
        }
    
        /**
         * Extracts text content from the given content by removing tags and processing attributes.
         * @param content The content to extract from.
         * @return The extracted text.
         */
        protected String extractString(final String content) {
            String input = content.replaceAll("[\\r\\n]", " ");
            if (ignoreCommentTag) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

        val expected =
          """
          |--AaB03x
          |Content-Disposition: form-data; name="submit-name"
          |
          |Larry
          |--AaB03x
          |Content-Disposition: form-data; name="files"
          |Content-Type: multipart/mixed; boundary=BbC04y
          |
          |--BbC04y
          |Content-Disposition: file; filename="file1.txt"
          |Content-Type: text/plain; charset=utf-8
          |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            String content;
    
            content = "...;charset=UTF-8\"...";
            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
            content = "...; charset=UTF-8\"...";
            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
            content = "...;charset = UTF-8\"...";
            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/CreateForm.java

        public String term;
    
        /**
         * The related content to be displayed.
         */
        @Required
        @Size(max = 10000)
        public String content;
    
        /**
         * The virtual host for which this related content applies.
         */
        @Size(max = 1000)
        public String virtualHost;
    
        /**
         * The sort order for this related content (0-2147483647).
         */
        @Min(value = 0)
        @Max(value = 2147483647)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

     * MimeTypeHelper provides methods to determine the content type of a given input stream or file.
     * It allows content type detection based on the stream's content and/or filename.
     */
    public interface MimeTypeHelper {
        /**
         * Determines the content type of the given input stream and filename.
         * @param is the input stream to analyze
         * @param filename the filename to help determine the content type
         * @return the detected content type
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/plain")
            .build(),
        )
        newEventSource()
        listener.assertFailure("Invalid content-type: text/plain")
      }
    
      @Test
      fun badResponseCode() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val s = "hello zstd world".encodeUtf8().zstdCompress()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "zstd")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
        assertThat(decompressed.header("Content-Encoding")).isNull()
    
        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello zstd world")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
Back to top