Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for encoding (0.23 sec)

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

            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getEncoding_utf8bom() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/xml/test_utf8bom.xml");
            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

         * @param params The parameter string.
         * @param paramList Additional parameters.
         * @param encoding The encoding.
         * @return The HttpEntity containing the parsed parameters.
         */
        protected HttpEntity parseRequestParameters(final String params, final List<Pair<String, String>> paramList, final String encoding) {
            try {
                final List<BasicNameValuePair> parameters =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

     * The extracted text is then converted into a byte array using the specified charset encoding.
     * It also provides a method to retrieve the extracted data as a String from an AccessResultData object.
     *
     * <p>
     * The class handles character encoding issues by attempting to use the specified charset.
     * If the specified charset is invalid, it falls back to UTF-8.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        }
    
        /**
         * Returns the current encoding setting.
         * @return The current encoding.
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for content extraction.
         * @param encoding The encoding to set.
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java

         */
        void setData(byte[] data);
    
        /**
         * Retrieves the encoding used for the access result data.
         *
         * @return the encoding as a String.
         */
        String getEncoding();
    
        /**
         * Sets the encoding for the access result data.
         *
         * @param encoding the encoding to set
         */
        void setEncoding(String encoding);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.2K bytes
    - Viewed (10)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            return charset;
        }
    
        /**
         * Gets the character encoding used for FTP operations.
         *
         * @return The character encoding
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * Sets the character encoding used for FTP operations.
         *
         * @param charset The character encoding to set
         */
        public void setCharset(final String charset) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            return charset;
        }
    
        /**
         * Gets the character encoding used for files.
         *
         * @return the character encoding
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * Sets the character encoding used for files.
         *
         * @param charset the character encoding to set
         */
        public void setCharset(final String charset) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = htmlXpathExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-8", encoding);
        }
    
        public void test_getEncoding_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

         * @param url the parent URL
         * @param depth the depth of the child URLs
         * @param encoding the encoding of the child URLs
         */
        protected void storeChildUrls(final CrawlerContext crawlerContext, final Set<RequestData> childUrlList, final String url,
                final int depth, final String encoding) {
            // add url and filter
            final Set<String> urlSet = new HashSet<>();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/resources/mapping/data.json

          },
          "createTime": {
            "type": "long"
          },
          "accessResultData": {
            "properties": {
              "transformerName": {
                "type": "keyword"
              },
              "encoding": {
                "type": "keyword"
              },
              "data": {
                "type": "binary"
              }
            }
          },
          "contentLength": {
            "type": "long"
          },
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
Back to top