Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.nio.charset.iconv
Class IconvProvider  view IconvProvider download IconvProvider.java

java.lang.Object
  extended byjava.nio.charset.spi.CharsetProvider
      extended bygnu.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.


Field Summary
private static IconvProvider singleton
           
 
Constructor Summary
IconvProvider()
           
 
Method Summary
 java.nio.charset.Charset charsetForName(java.lang.String charsetName)
          Returns the named charset, by canonical name or alias.
 java.util.Iterator charsets()
          Returns an iterator over the charsets defined by this provider.
static IconvProvider provider()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

private static IconvProvider singleton
Constructor Detail

IconvProvider

public IconvProvider()
Method Detail

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()