public class IoUtils extends Object
IO工具
2020-02-03 16:30
| 构造器和说明 |
|---|
IoUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
closeQuietly(Closeable... closeables) |
static void |
closeQuietly(Closeable closeable) |
static int |
copy(InputStream input,
OutputStream output) |
static byte[] |
toByteArray(InputStream input) |
public static void closeQuietly(Closeable closeable)
public static void closeQuietly(Closeable... closeables)
public static int copy(InputStream input, OutputStream output) throws IOException
IOExceptionpublic static byte[] toByteArray(InputStream input) throws IOException
IOExceptionCopyright © 2021. All rights reserved.