public class ProgressOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
ProgressOutputStream(OutputStream out,
ProgressListener progressListener,
String filename)
Creates an output stream filter built on top of the specified
underlying output stream.
|
public ProgressOutputStream(OutputStream out, ProgressListener progressListener, String filename)
out - the underlying output stream to be assigned to
the field this.out for later use, or
null if this instance is to be
created without an underlying stream.public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2014–2018. All rights reserved.