public class StreamUtils extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
StreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(Reader in,
Writer out) |
static Reader |
limit(Reader in,
long len)
Creates a reader that will return -1 after
len
chars have been read. |
static Reader |
splice(Reader one,
Reader two) |
static String |
toString(Reader in) |
public static String toString(Reader in) throws IOException
IOExceptionpublic static void copy(Reader in, Writer out) throws IOException
IOExceptionpublic static Reader limit(Reader in, long len)
len
chars have been read.Copyright © 2006–2017 Icegreen Technologies. All rights reserved.