java.lang.Object
java.nio.charset.spi.CharsetProvider
gnu.java.nio.charset.iconv.IconvProvider
- public final class IconvProvider
- extends java.nio.charset.spi.CharsetProvider
Charset provider wrapping iconv.
Note: This class is a privileged class, because it can be instantiated without
requiring the RuntimePermission("charsetProvider"). There is a check in
java.nio.charset.spi.CharsetProvider to skip the security check if the provider
is an instance of this class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
private static IconvProvider singleton
IconvProvider
public IconvProvider()
charsets
public java.util.Iterator charsets()
- Description copied from class:
java.nio.charset.spi.CharsetProvider
- Returns an iterator over the charsets defined by this provider.
charsetForName
public java.nio.charset.Charset charsetForName(java.lang.String charsetName)
- Description copied from class:
java.nio.charset.spi.CharsetProvider
- Returns the named charset, by canonical name or alias.
provider
public static IconvProvider provider()