java.nio.charset.spi
public
abstract
class
java.nio.charset.spi.CharsetProvider
The service provider class for character sets.
Summary
Protected Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Protected Constructors
protected
CharsetProvider()
Constructor for subclassing with concrete types.
Throws
SecurityException
| if there is a security manager installed that does not permit
the runtime permission labeled "charsetProvider".
|
Public Methods
public
abstract
Charset
charsetForName(String charsetName)
Returns the named charset.
If the charset is unavailable the method returns null
.
Parameters
charsetName
| the canonical or alias name of a character set. |
Returns
- the charset, or
null
if unavailable.
Returns an iterator over all the available charsets.