cn.dreampie.common.util.stream
类 StreamReader
java.lang.Object
cn.dreampie.common.util.stream.StreamReader
public class StreamReader
- extends Object
Created by ice on 15-1-28.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamReader
public StreamReader()
readString
public static String readString(InputStream is)
throws IOException
- 抛出:
IOException
readString
public static String readString(InputStream is,
String encoding)
throws IOException
- 抛出:
IOException
readFile
public static File readFile(InputStream is,
File writeFile)
throws IOException
- 抛出:
IOException
readFile
public static File readFile(InputStream is,
int contentLength,
File writeFile)
throws IOException
- 抛出:
IOException
readFile
public static File readFile(InputStream is,
File writeFile,
FileRenamer renamer)
throws IOException
- 抛出:
IOException
readFile
public static File readFile(InputStream is,
int contentLength,
File writeFile,
FileRenamer renamer)
throws IOException
- 抛出:
IOException
Copyright © 2015. All rights reserved.