Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getEncoding (0.07 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                        if (pageEnc != null) {
                            enc = pageEnc;
                        } else if (urlQueue.getEncoding() != null) {
                            enc = urlQueue.getEncoding();
                        }
                    }
                }
            } else {
                enc = fessConfig.getCrawlerDocumentFileNameEncoding();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java

            }
            try {
                return new ExtractData(new String(InputStreamUtil.getBytes(in), getEncoding()));
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    
        /**
         * Returns the encoding used for text extraction.
         * @return the encoding
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. okhttp-brotli/api/okhttp-brotli.api

    public final class okhttp3/brotli/Brotli : okhttp3/CompressionInterceptor$DecompressionAlgorithm {
    	public static final field INSTANCE Lokhttp3/brotli/Brotli;
    	public fun decompress (Lokio/BufferedSource;)Lokio/Source;
    	public fun getEncoding ()Ljava/lang/String;
    }
    
    public final class okhttp3/brotli/BrotliInterceptor : okhttp3/CompressionInterceptor {
    	public static final field INSTANCE Lokhttp3/brotli/BrotliInterceptor;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 18:34:32 UTC 2025
    - 428 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/util/XmlUtil.java

            // create input source
            final InputSource is = new InputSource(new ByteArrayInputStream(accessResultData.getData()));
            if (StringUtil.isNotBlank(accessResultData.getEncoding())) {
                is.setEncoding(accessResultData.getEncoding());
            }
    
            // create handler
            final DocHandler handler = new DocHandler();
    
            // create a sax instance
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. okhttp-zstd/api/okhttp-zstd.api

    public final class okhttp3/zstd/Zstd : okhttp3/CompressionInterceptor$DecompressionAlgorithm {
    	public static final field INSTANCE Lokhttp3/zstd/Zstd;
    	public fun decompress (Lokio/BufferedSource;)Lokio/Source;
    	public fun getEncoding ()Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 18:34:32 UTC 2025
    - 259 bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

         */
        @Override
        public void setData(final byte[] data) {
            this.data = data;
        }
    
        @Override
        public String getEncoding() {
            return encoding;
        }
    
        @Override
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            responseData.setMimeType("text/plain");
            final ResultData resultData = textTransformer.transform(responseData);
            assertEquals("xyz", new String(resultData.getData(), resultData.getEncoding()));
        }
    
        public void test_transform_html() throws Exception {
            final byte[] data = new String("<html><body>xyz</body></html>").getBytes();
            final ResponseData responseData = new ResponseData();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

         *
         * @return the encoding.
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for the response content.
         *
         * @param encoding the encoding to set.
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

        }
    
        @Test
        public void testEncoding() {
            CurlResponse response = new CurlResponse();
            String encoding = "UTF-8";
    
            response.setEncoding(encoding);
    
            assertEquals(encoding, response.getEncoding());
        }
    
        @Test
        public void testContentException() {
            CurlResponse response = new CurlResponse();
            Exception exception = new IOException("Test exception");
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top