org.apache.blur.thirdparty.thrift_0_9_0.transport
Class TStandardFile
java.lang.Object
org.apache.blur.thirdparty.thrift_0_9_0.transport.TStandardFile
- All Implemented Interfaces:
- TSeekableFile
public class TStandardFile
- extends Object
- implements TSeekableFile
TStandardFile
public TStandardFile(String path)
throws IOException
- Throws:
IOException
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.