|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnio.streams.Streams
public final class Streams
Stream utility class.
| Method Summary | |
|---|---|
static void |
copyStream(InputStream input,
OutputStream output)
Copy from one stream to another. |
static void |
copyStream(InputStream input,
OutputStream output,
boolean close)
Copy from one stream to another. |
static void |
copyStream(InputStream input,
OutputStream output,
boolean close,
int bufferSize)
Copy from one stream to another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void copyStream(InputStream input,
OutputStream output,
boolean close,
int bufferSize)
throws IOException
input - the source streamoutput - the destination streamclose - true if the input and output streams should be closedbufferSize - the buffer size
IOException - if an I/O error occurs
public static void copyStream(InputStream input,
OutputStream output,
boolean close)
throws IOException
input - the source streamoutput - the destination streamclose - true if the input and output streams should be closed
IOException - if an I/O error occurs
public static void copyStream(InputStream input,
OutputStream output)
throws IOException
input - the source streamoutput - the destination stream
IOException - if an I/O error occurs
|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||