| Modifier and Type | Field and Description |
|---|---|
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: String representation of the input stream contents decoded using default charsetInputStream to build the String from in)
Deprecated
Use
Reads string from byte input stream.
readString(java. variant.
|
| public static String | Returns: String representation of the input stream contents decoded using given charsetInputStream to build the String from in, Charset Charset used to decode the input stream charset)Reads string from byte input stream. |
| BUFFER_LENGTH | back to summary |
|---|---|
| private static final int BUFFER_LENGTH | |
| StreamUtil | back to summary |
|---|---|
| private StreamUtil() | |
| readString | back to summary |
|---|---|
| public static String readString(InputStream in) throws IOException
Deprecated Use Reads string from byte input stream.
| |
| readString | back to summary |
|---|---|
| public static String readString(InputStream in, Charset charset) throws IOException Reads string from byte input stream.
| |