| Package | Description | 
|---|---|
| java.io | |
| java.lang | 
| Constructor and Description | 
|---|
InputStreamReader(InputStream in,
                 String charsetName)
Creates an InputStreamReader that uses the named charset. 
 | 
OutputStreamWriter(OutputStream out,
                  String charsetName)
Creates an OutputStreamWriter that uses the named charset. 
 | 
PrintStream(OutputStream out,
           boolean autoFlush,
           String encoding)
Creates a new print stream. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
String.getBytes(String charsetName)
Encodes this  
String into a sequence of bytes using the named charset, storing the result
 into a new byte array. | 
| Constructor and Description | 
|---|
String(byte[] bytes,
      int offset,
      int length,
      String charsetName)
Constructs a new  
String by decoding the specified subarray of bytes using the specified
 charset. | 
String(byte[] bytes,
      String charsetName)
Constructs a new  
String by decoding the specified array of bytes using the specified
 charset. |