org.polyglotted.crypto.utils
Class IoUtils

java.lang.Object
  extended by org.polyglotted.crypto.utils.IoUtils

public abstract class IoUtils
extends Object


Constructor Summary
IoUtils()
           
 
Method Summary
static void copy(InputStream is, OutputStream os)
           
static byte[] readBytes(InputStream is)
           
static void safeClose(Closeable closeable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoUtils

public IoUtils()
Method Detail

copy

public static void copy(InputStream is,
                        OutputStream os)
                 throws IOException
Throws:
IOException

readBytes

public static byte[] readBytes(InputStream is)
                        throws IOException
Throws:
IOException

safeClose

public static void safeClose(Closeable closeable)


Copyright © 2012-2013 Polyglotted Org. All Rights Reserved.