- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for _UTF_8 (0.23 sec)
-
guava-tests/test/com/google/common/net/MediaTypeTest.java
public void testConstants_charset() throws Exception { for (Field field : getConstantFields()) { Optional<Charset> charset = ((MediaType) field.get(null)).charset(); if (field.getName().endsWith("_UTF_8")) { assertThat(charset).hasValue(UTF_8); } else { assertThat(charset).isAbsent(); } } } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 05 13:16:00 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/MediaTypeTest.java
public void testConstants_charset() throws Exception { for (Field field : getConstantFields()) { Optional<Charset> charset = ((MediaType) field.get(null)).charset(); if (field.getName().endsWith("_UTF_8")) { assertThat(charset).hasValue(UTF_8); } else { assertThat(charset).isAbsent(); } } } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 05 13:16:00 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
* Content-Type} header and as such has no support for header-specific considerations such as line * folding and comments. * * <p>For media types that take a charset the predefined constants default to UTF-8 and have a * "_UTF_8" suffix. To get a version without a character set, use {@link #withoutParameters}. * * @since 12.0 * @author Gregory Kick */ @GwtCompatible @Immutable @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Aug 07 16:17:10 UTC 2023 - 46.2K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
* Content-Type} header and as such has no support for header-specific considerations such as line * folding and comments. * * <p>For media types that take a charset the predefined constants default to UTF-8 and have a * "_UTF_8" suffix. To get a version without a character set, use {@link #withoutParameters}. * * @since 12.0 * @author Gregory Kick */ @GwtCompatible @Immutable @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Aug 07 16:17:10 UTC 2023 - 46.2K bytes - Viewed (0)