Class Charset

java.lang.Object
java.nio.charset.Charset
All Implemented Interfaces:
Comparable<Charset>

public class Charset extends Object implements Comparable<Charset>
Added this for Kotlin
  • Constructor Details

    • Charset

      protected Charset(String canonicalName, String[] aliases)
  • Method Details

    • compareTo

      public int compareTo(Charset another)
      Description copied from interface: Comparable
      Compares this object to the specified object to determine their relative order.
      Specified by:
      compareTo in interface Comparable<Charset>
      Parameters:
      another - the object to compare to this instance.
      Returns:
      a negative integer if this instance is less than another; a positive integer if this instance is greater than another; 0 if this instance has the same order as another.
    • displayName

      public String displayName()
    • forName

      public static Charset forName(String name)