Class StreamUtils
- java.lang.Object
-
- com.icegreen.greenmail.foedus.util.StreamUtils
-
public class StreamUtils extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStreamUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopy(Reader in, Writer out)static Readerlimit(Reader in, long len)Creates a reader that will return -1 afterlenchars have been read.static Readersplice(Reader one, Reader two)static StringtoString(Reader in)
-
-
-
Method Detail
-
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 afterlenchars have been read.
-
-