org.ontobox.fast.util.io
Class ReadBuffer
java.lang.Object
org.ontobox.fast.util.io.ReadBuffer
public class ReadBuffer
- extends java.lang.Object
- Author:
- Anton Malykh
Constructor Summary |
ReadBuffer(java.nio.channels.FileChannel ch)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadBuffer
public ReadBuffer(java.nio.channels.FileChannel ch)
throws java.io.IOException
- Throws:
java.io.IOException
preload
public final void preload()
getInt
public final java.lang.Integer getInt()
getLong
public final long getLong()
getChar
public final char getChar()
getByte
public final byte getByte()
getString
public final java.lang.String getString()
getASCIICompact
public final java.lang.String getASCIICompact()
getRAWASCII
public final java.lang.String getRAWASCII(int count)
throws java.io.IOException
- Throws:
java.io.IOException