public class ManInputStreamExt
extends java.lang.Object
| Constructor and Description |
|---|
ManInputStreamExt() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.BufferedReader |
bufferedReader(java.io.InputStream thiz)
Creates a buffered reader on this input stream using UTF-8 or the specified
charset. |
static java.io.BufferedReader |
bufferedReader(java.io.InputStream thiz,
java.nio.charset.Charset charset) |
static long |
copyTo(java.io.InputStream thiz,
java.io.OutputStream out)
Copies this stream to the given output stream, returning the number of bytes copied
|
static long |
copyTo(java.io.InputStream thiz,
java.io.OutputStream out,
int bufferSize)
Copies this stream to the given output stream, returning the number of bytes copied
|
static java.io.InputStreamReader |
reader(java.io.InputStream thiz)
Creates a reader on this input stream using UTF-8 or the specified
charset. |
static java.io.InputStreamReader |
reader(java.io.InputStream thiz,
java.nio.charset.Charset charset) |
public static java.io.InputStreamReader reader(java.io.InputStream thiz)
charset.public static java.io.InputStreamReader reader(java.io.InputStream thiz,
java.nio.charset.Charset charset)
public static java.io.BufferedReader bufferedReader(java.io.InputStream thiz)
charset.public static java.io.BufferedReader bufferedReader(java.io.InputStream thiz,
java.nio.charset.Charset charset)
public static long copyTo(java.io.InputStream thiz,
java.io.OutputStream out)
**Note** It is the caller's responsibility to close both of these resources.
public static long copyTo(java.io.InputStream thiz,
java.io.OutputStream out,
int bufferSize)
**Note** It is the caller's responsibility to close both of these resources.
Copyright © 2024. All rights reserved.