|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.compress.utils.IOUtils
public final class IOUtils
Utility functions
Method Summary | |
---|---|
static long |
copy(InputStream input,
OutputStream output)
Copies the content of a InputStream into an OutputStream. |
static long |
copy(InputStream input,
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(InputStream input, OutputStream output) throws IOException
input
- the InputStream to copyoutput
- the target Stream
IOException
- if an error occurspublic static long copy(InputStream input, OutputStream output, int buffersize) throws IOException
input
- the InputStream to copyoutput
- the target Streambuffersize
- the buffer size to use
IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |