类 IoUtils
java.lang.Object
com.sh.wf.excel.util.IoUtils
IO Utils
-
字段概要
字段 -
方法概要
修饰符和类型方法说明static intcopy(InputStream input, OutputStream output) Copies bytesstatic byte[]toByteArray(InputStream input) Gets the contents of an InputStream as a byte[].static byte[]toByteArray(InputStream input, int size) Gets the contents of an InputStream as a byte[].
-
字段详细资料
-
EOF
public static final int EOF- 另请参阅:
-
-
方法详细资料
-
toByteArray
Gets the contents of an InputStream as a byte[].- 参数:
input- InputStream- 返回:
- byte[]
- 抛出:
IOException- IOException
-
toByteArray
Gets the contents of an InputStream as a byte[].- 参数:
input- InputStreamsize- int- 返回:
- byte[]
- 抛出:
IOException- IOException
-
copy
Copies bytes- 参数:
input- InputStreamoutput- OutputStream- 返回:
- int
- 抛出:
IOException- IOException
-