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.


构造方法摘要
StreamReader()
           
 
方法摘要
static File readFile(InputStream is, File writeFile)
           
static File readFile(InputStream is, File writeFile, FileRenamer renamer)
           
static File readFile(InputStream is, int contentLength, File writeFile)
           
static File readFile(InputStream is, int contentLength, File writeFile, FileRenamer renamer)
           
static String readString(InputStream is)
           
static String readString(InputStream is, String encoding)
           
 
从类 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.