com.flazr.io
Class FileChannelReader
java.lang.Object
com.flazr.io.FileChannelReader
- All Implemented Interfaces:
- BufferReader
public class FileChannelReader
- extends Object
- implements BufferReader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileChannelReader
public FileChannelReader(String path)
FileChannelReader
public FileChannelReader(File file)
size
public long size()
- Specified by:
size in interface BufferReader
position
public long position()
- Specified by:
position in interface BufferReader
position
public void position(long newPosition)
- Specified by:
position in interface BufferReader
read
public org.jboss.netty.buffer.ChannelBuffer read(int size)
- Specified by:
read in interface BufferReader
readInt
public int readInt()
- Specified by:
readInt in interface BufferReader
readUnsignedInt
public long readUnsignedInt()
- Specified by:
readUnsignedInt in interface BufferReader
readBytes
public byte[] readBytes(int size)
- Specified by:
readBytes in interface BufferReader
close
public void close()
- Specified by:
close in interface BufferReader
Copyright © 2011. All Rights Reserved.