java.io
Class BufferedOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
public class BufferedOutputStream
- extends FilterOutputStream
|
Field Summary |
protected byte[] |
buf
|
protected int |
count
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
protected byte[] buf
count
protected int count
BufferedOutputStream
public BufferedOutputStream(OutputStream out)
BufferedOutputStream
public BufferedOutputStream(OutputStream out,
int size)
close
public void close()
throws IOException
- Overrides:
close in class FilterOutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Overrides:
write in class FilterOutputStream
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write in class FilterOutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Overrides:
flush in class FilterOutputStream
- Throws:
IOException