xxl.io
Class BufferedOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--xxl.io.BufferedOutputStream
- public class BufferedOutputStream
- extends java.io.OutputStream
| Methods inherited from class java.io.OutputStream |
write,
write |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
outputStream
protected java.io.OutputStream outputStream
buffer
protected Buffer buffer
blockFactory
protected Function blockFactory
block
protected Block block
offset
protected int offset
bufferedBytes
protected int bufferedBytes
counter
protected java.lang.Integer counter
updateList
protected java.util.LinkedList updateList
BufferedOutputStream
public BufferedOutputStream(java.io.OutputStream outputStream,
Buffer buffer,
Function blockFactory)
close
public void close()
throws java.io.IOException
- Overrides:
- close in class java.io.OutputStream
flush
public void flush()
throws java.io.IOException
- Overrides:
- flush in class java.io.OutputStream
write
public void write(int b)
throws java.io.IOException
- Overrides:
- write in class java.io.OutputStream