public class StreamUtils
extends java.lang.Object
Constructor and Description |
---|
StreamUtils() |
Modifier and Type | Method and Description |
---|---|
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) |
public static java.lang.String toString(java.io.Reader in) throws java.io.IOException
java.io.IOException
public static void copy(java.io.Reader in, java.io.Writer out) throws java.io.IOException
java.io.IOException
public static java.io.Reader limit(java.io.Reader in, long len)
len
chars have been read.public static java.io.Reader splice(java.io.Reader one, java.io.Reader two)