public class IOUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BUFFER_SIZE |
| 构造器和说明 |
|---|
IOUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
closeQuietly(Closeable closeable)
关闭
|
static void |
closeQuietly(Connection connection) |
static void |
closeQuietly(ResultSet rs) |
static void |
closeQuietly(Socket socket) |
static void |
closeQuietly(Statement stmt) |
static void |
closeQuietly(ZipFile zip) |
static byte[] |
toBytes(InputStream in) |
public static byte[] toBytes(InputStream in) throws IOException
IOExceptionpublic static void closeQuietly(Closeable closeable)
closeable - public static void closeQuietly(ZipFile zip)
public static void closeQuietly(Socket socket)
public static void closeQuietly(Connection connection)
public static void closeQuietly(ResultSet rs)
public static void closeQuietly(Statement stmt)
Copyright © 2018. All Rights Reserved.