org.crsh.util
Class IO
java.lang.Object
org.crsh.util.IO
public class IO
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IO
public IO()
readAsBytes
public static byte[] readAsBytes(InputStream in)
throws IOException
- Throws:
IOException
readAsUTF8
public static String readAsUTF8(InputStream in)
copy
public static void copy(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
read
private static ByteArrayOutputStream read(InputStream in)
throws IOException
- Throws:
IOException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.