Constructor and Description |
---|
CopyJob(InputStream is,
OutputStream os)
Constructor; the input stream will automatically be closed on exit, while the output stream won't.
|
CopyJob(InputStream is,
OutputStream os,
boolean closeOutputStreamOnExit)
Constructor.
|
public CopyJob(InputStream is, OutputStream os)
is
- input stream to read data fromos
- output stream to write data topublic CopyJob(InputStream is, OutputStream os, boolean closeOutputStreamOnExit)
is
- input stream to read data fromos
- output stream to write data tocloseOutputStreamOnExit
- whether to flush and close the output stream on exitCopyright © 2013 JBoss, by Red Hat. All rights reserved.