org.apache.blur.thirdparty.thrift_0_9_0.transport
Class TStandardFile

java.lang.Object
  extended by org.apache.blur.thirdparty.thrift_0_9_0.transport.TStandardFile
All Implemented Interfaces:
TSeekableFile

public class TStandardFile
extends Object
implements TSeekableFile


Constructor Summary
TStandardFile(String path)
           
 
Method Summary
 void close()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 long length()
           
 void seek(long pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TStandardFile

public TStandardFile(String path)
              throws IOException
Throws:
IOException
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface TSeekableFile
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface TSeekableFile
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface TSeekableFile
Throws:
IOException

length

public long length()
            throws IOException
Specified by:
length in interface TSeekableFile
Throws:
IOException

seek

public void seek(long pos)
          throws IOException
Specified by:
seek in interface TSeekableFile
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.