public class ByteStreams extends Object
| 构造器和说明 |
|---|
ByteStreams() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
copy(InputStream from,
OutputStream to) |
static byte[] |
toByteArray(InputStream in) |
public static byte[] toByteArray(InputStream in) throws IOException
IOExceptionpublic static long copy(InputStream from, OutputStream to) throws IOException
IOExceptionCopyright © 2021. All rights reserved.