com.icegreen.greenmail.foedus.util
Class StreamUtils
java.lang.Object
com.icegreen.greenmail.foedus.util.StreamUtils
public class StreamUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamUtils
public StreamUtils()
toString
public static String toString(Reader in)
throws IOException
- Throws:
IOException
copy
public static void copy(Reader in,
Writer out)
throws IOException
- Throws:
IOException
limit
public static Reader limit(Reader in,
long len)
- Creates a reader that will return -1 after
len
chars have been read.
splice
public static Reader splice(Reader one,
Reader two)