Save This Page
Home » openjdk-7 » sun » io » [javadoc | source]
sun.io
public class: Converters [javadoc | source]
java.lang.Object
   sun.io.Converters
Deprecated! Replaced - by java.nio.charset . THIS API WILL BE REMOVED IN J2SE 1.6.

Package-private utility class that caches the default converter classes and provides other logic common to both the ByteToCharConverter and CharToByteConverter classes.
Field Summary
public static final  int BYTE_TO_CHAR     
public static final  int CHAR_TO_BYTE     
Method from sun.io.Converters Summary:
getDefaultEncodingName,   isCached,   newConverter,   newDefaultConverter,   resetDefaultEncodingName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.io.Converters Detail:
 public static String getDefaultEncodingName() 
      Deprecated!
 public static boolean isCached(int type,
    String encoding) 
      Deprecated!
 static Object newConverter(int type,
    String enc) throws UnsupportedEncodingException 
      Deprecated!
    Create a converter object that implements the given type of converter for the given encoding, or throw an UnsupportedEncodingException if no appropriate converter class can be found and instantiated
 static Object newDefaultConverter(int type) 
      Deprecated!
    Create a converter object that implements the given type of converter for the default encoding, falling back to ISO 8859-1 if the default encoding cannot be determined.
 public static  void resetDefaultEncodingName() 
      Deprecated!