wt.util
Class BlockDataOutputStream.Buffered

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended bywt.util.BlockDataOutputStream.Buffered
Enclosing class:
BlockDataOutputStream

class BlockDataOutputStream.Buffered
extends FilterOutputStream


Field Summary
private  byte[] buf
           
private  int count
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
(package private) BlockDataOutputStream.Buffered(int size)
           
 
Method Summary
 void flush()
           
private  void flushBuffer()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buf

private byte[] buf

count

private int count
Constructor Detail

BlockDataOutputStream.Buffered

BlockDataOutputStream.Buffered(int size)
Method Detail

flushBuffer

private void flushBuffer()
                  throws IOException
Throws:
IOException

write

public void write(int b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException