Class Charsets


  • @Deprecated
    public final class Charsets
    extends java.lang.Object
    Deprecated.
    use java.nio.charset.StandardCharsets
    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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.nio.charset.Charset ISO_8859_1
      Deprecated.
      ISO-8859-1 charset.
      static java.nio.charset.Charset UTF_8
      Deprecated.
      UTF-8 charset.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Charsets()
      Deprecated.
       
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UTF_8

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

        public static final java.nio.charset.Charset ISO_8859_1
        Deprecated.
        ISO-8859-1 charset.
    • Constructor Detail

      • Charsets

        private Charsets()
        Deprecated.