- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for charsetName (0.39 sec)
-
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 23.9K bytes - Viewed (0) -
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
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 * @throws RobotsTxtException if a fatal I/O error occurs */ public RobotsTxt parse(final InputStream stream, final String charsetName) { if (!enabled) { return null; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 29 07:42:33 UTC 2025 - 30.5K bytes - Viewed (0)