Class Charsets


  • public final class Charsets
    extends Object
    Contains constant definitions for some standard Charset instances that are guaranteed to be supported by all Java platform implementations.

    NOTE: this is a copy of a subset of Guava's Charsets. The implementation must match as closely as possible to Guava's implementation.

    Since:
    1.14
    Author:
    Yaniv Inbar
    • Field Detail

      • UTF_8

        public static final Charset UTF_8
        UTF-8 charset.
      • ISO_8859_1

        public static final Charset ISO_8859_1
        ISO-8859-1 charset.