org.apache.thrift.transport
Class TFileTransport.truncableBufferedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by org.apache.thrift.transport.TFileTransport.truncableBufferedInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
TFileTransport

public static class TFileTransport.truncableBufferedInputStream
extends java.io.BufferedInputStream


Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
TFileTransport.truncableBufferedInputStream(java.io.InputStream in)
           
TFileTransport.truncableBufferedInputStream(java.io.InputStream in, int size)
           
 
Method Summary
 void trunc()
           
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TFileTransport.truncableBufferedInputStream

public TFileTransport.truncableBufferedInputStream(java.io.InputStream in)

TFileTransport.truncableBufferedInputStream

public TFileTransport.truncableBufferedInputStream(java.io.InputStream in,
                                                   int size)
Method Detail

trunc

public void trunc()