Package | Description |
---|---|
java.io |
Input/Output support
|
java.util |
Utilities
|
Modifier and Type | Method and Description |
---|---|
String |
ByteArrayOutputStream.toString(String enc)
Returns the bytes in the internal array as a
String . |
Constructor and Description |
---|
InputStreamReader(InputStream os,
String charset) |
OutputStreamWriter(OutputStream os,
String charset) |
Constructor and Description |
---|
Formatter(OutputStream out,
String charset)
Constructs a new
Formatter using the default
locale, with the specified file output stream and the
supplied character set. |
Formatter(OutputStream out,
String charset,
Locale loc)
Constructs a new
Formatter using the specified
output stream with the supplied character set and locale. |