rice.email.proxy.util
Class StreamUtils
java.lang.Object
rice.email.proxy.util.StreamUtils
-
public class StreamUtils
- extends java.lang.Object
Method Summary |
static void |
copy(java.io.Reader in,
java.io.Writer out)
|
static java.io.Reader |
limit(java.io.Reader in,
long len)
Creates a reader that will return -1 after len
chars have been read. |
static java.io.Reader |
splice(java.io.Reader one,
java.io.Reader two)
|
static java.lang.String |
toString(java.io.Reader in)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamUtils
public StreamUtils()
toString
public static java.lang.String toString(java.io.Reader in)
throws java.io.IOException
-
-
Throws:
java.io.IOException
copy
public static void copy(java.io.Reader in,
java.io.Writer out)
throws java.io.IOException
-
-
Throws:
java.io.IOException
limit
public static java.io.Reader limit(java.io.Reader in,
long len)
- Creates a reader that will return -1 after
len
chars have been read.
-
splice
public static java.io.Reader splice(java.io.Reader one,
java.io.Reader two)
-
Copyright © 2001-2005 - Rice Pastry.