public class IOUtility extends Object
| 构造器和说明 |
|---|
IOUtility() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
closeInputStream(InputStream is) |
static void |
closeOuputStream(OutputStream os) |
static byte[] |
readBytesFromInputStream(InputStream is) |
static String |
readContentFromInputStream(InputStream is) |
static String |
readContentFromReader(BufferedReader reader) |
public static String readContentFromReader(BufferedReader reader) throws IOException
IOExceptionpublic static String readContentFromInputStream(InputStream is) throws IOException
IOExceptionpublic static byte[] readBytesFromInputStream(InputStream is) throws IOException
IOExceptionpublic static void closeInputStream(InputStream is)
public static void closeOuputStream(OutputStream os)
Copyright © 2017. All rights reserved.