| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | copyStream(InputStream
the source stream input, OutputStream the destination stream output, boolean true if the input and output streams should be closedthe buffer size bufferSize)Copy from one stream to another. |
| public static void | copyStream(InputStream
the source stream input, OutputStream the destination stream output, boolean true if the input and output streams should be closedCopy from one stream to another. |
| public static void | copyStream(InputStream
the source stream input, OutputStream the destination stream output)Copy from one stream to another. |
| pack-priv static Charset |
| Streams | back to summary |
|---|---|
| private Streams() | |
| copyStream | back to summary |
|---|---|
| public static void copyStream(InputStream input, OutputStream output, boolean close, int bufferSize) throws IOException Copy from one stream to another.
| |
| copyStream | back to summary |
|---|---|
| public static void copyStream(InputStream input, OutputStream output, boolean close) throws IOException Copy from one stream to another. A default buffer size is assumed.
| |
| copyStream | back to summary |
|---|---|
| public static void copyStream(InputStream input, OutputStream output) throws IOException Copy from one stream to another. A default buffer size is assumed, and both streams are closed on completion.
| |
| getCharset | back to summary |
|---|---|
| pack-priv static Charset getCharset(final String charsetName) throws UnsupportedEncodingException | |