public class Charset extends Object implements Comparable<Charset>
| Modifier | Constructor and Description |
|---|---|
protected |
Charset(String canonicalName,
String[] aliases) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Charset another)
Compares this object to the specified object to determine their relative
order.
|
String |
displayName() |
static Charset |
forName(String name) |
public int compareTo(Charset another)
ComparablecompareTo in interface Comparable<Charset>another - the object to compare to this instance.another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.public String displayName()