public class Charset
- Object
- Charset
ImplementsComparable<Charset>
Added this for Kotlin
Constructors
protected Charset(String canonicalName, String[] aliases) |
Methods
public int compareTo(Charset another) | Compares this object to the specified object to determine their relative order. |
public String displayName() | |
public static Charset forName(String name) |
Inherited methods
Constructor details
Charset
protected Charset(String canonicalName, String[] aliases)Method details
compareTo
public int compareTo(Charset another)Compares this object to the specified object to determine their relative
order.
Parameters
anotherCharset- 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.Throws
ClassCastException- if
anothercannot be converted into something comparable tothisinstance.
displayName
public String displayName()forName
public static Charset forName(String name)