final
Set<String>
|
aliases()
Returns a set containing this charset's aliases.
|
static
SortedMap<String, Charset>
|
availableCharsets()
Constructs a sorted map from canonical charset names to charset objects.
|
boolean
|
canEncode()
Tells whether or not this charset supports encoding.
|
final
int
|
compareTo(Charset that)
Compares this charset to another.
|
abstract
boolean
|
contains(Charset cs)
Tells whether or not this charset contains the given charset.
|
final
CharBuffer
|
decode(ByteBuffer bb)
Convenience method that decodes bytes in this charset into Unicode
characters.
|
static
Charset
|
defaultCharset()
Returns the default charset of this Java virtual machine.
|
String
|
displayName()
Returns this charset's human-readable name for the default locale.
|
String
|
displayName(Locale locale)
Returns this charset's human-readable name for the given locale.
|
final
ByteBuffer
|
encode(CharBuffer cb)
Convenience method that encodes Unicode characters into bytes in this
charset.
|
final
ByteBuffer
|
encode(String str)
Convenience method that encodes a string into bytes in this charset.
|
final
boolean
|
equals(Object ob)
Tells whether or not this object is equal to another.
|
static
Charset
|
forName(String charsetName)
Returns a charset object for the named charset.
|
final
int
|
hashCode()
Computes a hashcode for this charset.
|
final
boolean
|
isRegistered()
|
static
boolean
|
isSupported(String charsetName)
Tells whether the named charset is supported.
|
final
String
|
name()
Returns this charset's canonical name.
|
abstract
CharsetDecoder
|
newDecoder()
Constructs a new decoder for this charset.
|
abstract
CharsetEncoder
|
newEncoder()
Constructs a new encoder for this charset.
|
final
String
|
toString()
Returns a string describing this charset.
|