|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.util.IO
public class IO
Constructor Summary | |
---|---|
IO() |
Method Summary | |
---|---|
static void |
copy(InputStream in, OutputStream out) |
private static ByteArrayOutputStream |
read(InputStream in) |
static byte[] |
readAsBytes(InputStream in) |
static String |
readAsUTF8(InputStream in) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IO()
Method Detail |
---|
public static byte[] readAsBytes(InputStream in) throws IOException
IOException
public static String readAsUTF8(InputStream in)
public static void copy(InputStream in, OutputStream out) throws IOException
IOException
private static ByteArrayOutputStream read(InputStream in) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |