| java.lang.Object java.io.OutputStream java.io.FilterOutputStream com.quadcap.io.LimitedOutputStream
LimitedOutputStream | public class LimitedOutputStream extends FilterOutputStream (Code) | | A limited size output stream.
author: Stan Bailes |
Method Summary | |
public void | write(int b) | public void | write(byte b, int off, int len) Writes len bytes from the specified
byte array starting at offset off to
this output stream. |
write | public void write(byte b, int off, int len) throws IOException(Code) | | Writes len bytes from the specified
byte array starting at offset off to
this output stream.
The write method of FilterOutputStream
calls the write method of one argument on each
byte to output.
Note that this method does not call the write method
of its underlying input stream with the same arguments. Subclasses
of FilterOutputStream should provide a more efficient
implementation of this method.
Parameters: b - the data. Parameters: off - the start offset in the data. Parameters: len - the number of bytes to write. exception: IOException - if an I/O error occurs. See Also: java.io.FilterOutputStream.write(int) since: JDK1.0 |
|
|