| Package | Description |
|---|---|
| java.io | |
| java.lang |
| Modifier and Type | Method and Description |
|---|---|
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the specified
charsetName. |
| Constructor and Description |
|---|
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
| 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. |
Copyright © 2013 API Design. All Rights Reserved.