org.deckfour.xes.nikefs2
Class NikeFS2RandomAccessStorageImpl.FS2DataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.deckfour.xes.nikefs2.NikeFS2RandomAccessStorageImpl.FS2DataInputStream
- All Implemented Interfaces:
- Closeable, DataInput
- Enclosing class:
- NikeFS2RandomAccessStorageImpl
protected class NikeFS2RandomAccessStorageImpl.FS2DataInputStream
- extends DataInputStream
Internal support class implementing a data input stream
with NikeFS2-block-safe UTF-8 string serialization.
- Author:
- Christian W. Guenther (christian@deckfour.org)
Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NikeFS2RandomAccessStorageImpl.FS2DataInputStream
public NikeFS2RandomAccessStorageImpl.FS2DataInputStream(InputStream in)
- Parameters:
in
- Input stream to read from.
readSafeUTF
public String readSafeUTF()
throws IOException
- Deserializes a block-safe UTF-8 string.
- Returns:
- UTF-8 string.
- Throws:
IOException