|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.compress.utils.IOUtils
public final class IOUtils
Utility functions
Method Summary | |
---|---|
static long |
copy(java.io.InputStream input,
java.io.OutputStream output)
Copies the content of a InputStream into an OutputStream. |
static long |
copy(java.io.InputStream input,
java.io.OutputStream output,
int buffersize)
Copies the content of a InputStream into an OutputStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static long copy(java.io.InputStream input, java.io.OutputStream output) throws java.io.IOException
input
- the InputStream to copyoutput
- the target Stream
java.io.IOException
- if an error occurspublic static long copy(java.io.InputStream input, java.io.OutputStream output, int buffersize) throws java.io.IOException
input
- the InputStream to copyoutput
- the target Streambuffersize
- the buffer size to use
java.io.IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |