com.alibaba.excel.util
类 IoUtils
- java.lang.Object
-
- com.alibaba.excel.util.IoUtils
public class IoUtils extends Object
IO Utils- 作者:
- Jiaju Zhuang
-
字段概要
字段 限定符和类型 字段和说明 static int
EOF
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static int
copy(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
public static byte[] toByteArray(InputStream input) throws IOException
Gets the contents of an InputStream as a byte[].- 参数:
-
input
- - 返回:
- 抛出:
-
IOException
toByteArray
public static byte[] toByteArray(InputStream input, int size) throws IOException
Gets the contents of an InputStream as a byte[].- 参数:
-
input
- -
size
- - 返回:
- 抛出:
-
IOException
copy
public static int copy(InputStream input, OutputStream output) throws IOException
Copies bytes- 参数:
-
input
- -
output
- - 返回:
- 抛出:
-
IOException
Copyright © 2018–2021 Alibaba Group. All rights reserved.