Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for charsetName (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

      @Test fun testDoubleQuotesAreSpecial() {
        val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testSingleQuotesAreNotSpecial() {
        val mediaType = parse("text/plain;a=';charset=utf-8;b='")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      @Test fun testParseWithSpecialCharacters() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

        /**
         * Returns the charset name.
         * @return the charsetName
         */
        public String getCharsetName() {
            return charsetName;
        }
    
        /**
         * Sets the charset name.
         * @param charsetName The charset name to set.
         */
        public void setCharsetName(final String charsetName) {
            this.charsetName = charsetName;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

        assertNull(mediaType.charsetName())
      }
    
      @Test fun testUnsupportedCharset() {
        val mediaType = parse("text/plain; charset=utf-wtf")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() {
        val mediaType = parse("text/plain;charset=\"'utf-8'\"")
        assertNull(mediaType.charsetName())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

         * @return The charset name.
         */
        public String getCharsetName() {
            return charsetName;
        }
    
        /**
         * Sets the charset name.
         * @param charsetName The charset name to set.
         */
        public void setCharsetName(final String charsetName) {
            this.charsetName = charsetName;
        }
    
        /**
         * Returns the data class.
         * @return The data class.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

        }
    
        /**
         * Returns the charsetName.
         *
         * @return the charsetName
         */
        public String getCharsetName() {
            return charsetName;
        }
    
        /**
         * Sets the charsetName.
         *
         * @param charsetName the charsetName to set
         */
        public void setCharsetName(final String charsetName) {
            this.charsetName = charsetName;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         * @return the character set name
         */
        public String getCharsetName() {
            return charsetName;
        }
    
        /**
         * Sets the charset name.
         * @param charsetName The charset name to set.
         */
        public void setCharsetName(final String charsetName) {
            this.charsetName = charsetName;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         * @return the charset name
         */
        public String getCharsetName() {
            return charsetName;
        }
    
        /**
         * Sets the charset name.
         *
         * @param charsetName
         *            the charset name
         */
        public void setCharsetName(final String charsetName) {
            this.charsetName = charsetName;
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @param stream the input stream to parse
         * @param charsetName the character encoding to use
         * @return the parsed RobotsTxt object, or null if disabled
         */
        public RobotsTxt parse(final InputStream stream, final String charsetName) {
            if (!enabled) {
                return null;
            }
    
            try {
                @SuppressWarnings("resource")
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      }
    
      @Param({"UTF-8"})
      String charsetName;
    
      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         *
         * @param charsetName the charset name to check
         * @return true if the charset is supported, false otherwise
         */
        protected boolean isSupportedCharset(final String charsetName) {
            if (charsetName == null) {
                return false;
            }
            try {
                Charset.forName(charsetName);
            } catch (final Exception e) {
                return false;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top