org.apache.commons.compress.utils
Class IOUtils

java.lang.Object
  extended by org.apache.commons.compress.utils.IOUtils

public final class IOUtils
extends java.lang.Object


Constructor Summary
IOUtils()
           
 
Method Summary
static void copy(java.io.InputStream input, java.io.OutputStream output)
          Copies the content of a InputStream into an OutputStream
static void copy(java.io.InputStream input, java.io.OutputStream output, int buffersize)
           
 
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(java.io.InputStream input,
                        java.io.OutputStream output)
                 throws java.io.IOException
Copies the content of a InputStream into an OutputStream

Parameters:
input - the InputStream to copy
output - the target Stream
Throws:
java.io.IOException - if the streams are interrupted

copy

public static void copy(java.io.InputStream input,
                        java.io.OutputStream output,
                        int buffersize)
                 throws java.io.IOException
Throws:
java.io.IOException