Class StandardCharsets


  • public final class StandardCharsets
    extends Object
    Convenient access to the most important built-in charsets.
    Since:
    1.7
    • Field Detail

      • ISO_8859_1

        public static final Charset ISO_8859_1
        The ISO-8859-1 charset.
      • US_ASCII

        public static final Charset US_ASCII
        The US-ASCII charset.
      • UTF_8

        public static final Charset UTF_8
        The UTF-8 charset.
      • UTF_16

        public static final Charset UTF_16
        The UTF-16 charset.
      • UTF_16BE

        public static final Charset UTF_16BE
        The UTF-16BE (big-endian) charset.
      • UTF_16LE

        public static final Charset UTF_16LE
        The UTF-16LE (little-endian) charset.