Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 443 for Encodings (0.05 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: Sat Dec 20 11:21:39 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/extractor/impl/MarkdownExtractor.java

        }
    
        /**
         * Gets the encoding for Markdown files.
         *
         * @return the encoding
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for Markdown files.
         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Strings.java

        private Strings() {
        }
    
        /**
         * Encodes a string into bytes using the specified encoding.
         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/OsddHelper.java

         */
        public void setOsddPath(final String osddPath) {
            this.osddPath = osddPath;
        }
    
        /**
         * Sets the encoding.
         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
         * Sets the content type.
         *
         * @param contentType the content type
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            assertArgumentNotNull("props", props);
            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
            final Reader reader = ReaderUtil.create(file, encoding);
    
            try {
                props.load(reader);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(reader);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

                            logger.debug("Invalid encoding: {}, using default: {}", encodingParam, encoding, e);
                        }
                    }
                }
            }
            return Charset.forName(encoding);
        }
    
        /**
         * Sets the encoding for CSV files.
         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Reads text from a file with the specified encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @param encoding
         *            The encoding. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
        public static String readText(final String path, final String encoding) {
            assertArgumentNotEmpty("path", path);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

        }
    
        /**
         * Gets the encoding used for the response content.
         *
         * @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: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

         */
        public static int copy(final InputStream in, final String encoding, final Writer out) {
            assertArgumentNotNull("in", in);
            assertArgumentNotEmpty("encoding", encoding);
            assertArgumentNotNull("out", out);
    
            final Reader is = ReaderUtil.create(wrap(in), encoding);
            return copyInternal(is, wrap(out));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top