类 StreamUtils
java.lang.Object
com.xingyuv.captcha.util.StreamUtils
-
嵌套类概要
嵌套类修饰符和类型类说明private static classprivate static class -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidcopy(byte[] in, OutputStream out) static intcopy(InputStream in, OutputStream out) static voidcopy(String in, Charset charset, OutputStream out) static longcopyRange(InputStream in, OutputStream out, long start, long end) static byte[]static StringcopyToString(InputStream in, Charset charset) static intdrain(InputStream in) static InputStreamstatic InputStreamstatic OutputStreamnonClosing(OutputStream out)
-
字段详细资料
-
BUFFER_SIZE
public static final int BUFFER_SIZE- 另请参阅:
-
EMPTY_CONTENT
private static final byte[] EMPTY_CONTENT
-
-
构造器详细资料
-
StreamUtils
public StreamUtils()
-
-
方法详细资料
-
copyToByteArray
- 抛出:
IOException
-
copyToString
- 抛出:
IOException
-
copy
- 抛出:
IOException
-
copy
- 抛出:
IOException
-
copy
- 抛出:
IOException
-
copyRange
public static long copyRange(InputStream in, OutputStream out, long start, long end) throws IOException - 抛出:
IOException
-
drain
- 抛出:
IOException
-
emptyInput
-
nonClosing
-
nonClosing
-