FileDocCategorySizeDatePackage
CharsetProvider.javaAPI DocAndroid 1.5 API2303Wed May 06 22:41:04 BST 2009java.nio.charset.spi

CharsetProvider

public abstract class CharsetProvider extends Object
The service provider class for character sets.
since
Android 1.0

Fields Summary
private static final RuntimePermission
CONSTRUCT_PERM
Constructors Summary
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".
since
Android 1.0

 //$NON-NLS-1$

                                                             
      
        SecurityManager securityManager = System.getSecurityManager();
        if (securityManager != null)
            securityManager.checkPermission(CONSTRUCT_PERM);
    
Methods Summary
public abstract java.nio.charset.CharsetcharsetForName(java.lang.String charsetName)
Returns the named charset.

If the charset is unavailable the method returns null.

param
charsetName the canonical or alias name of a character set.
return
the charset, or null if unavailable.
since
Android 1.0

public abstract java.util.Iteratorcharsets()
Returns an iterator over all the available charsets.

return
the iterator.
since
Android 1.0