org.deckfour.xes.nikefs2
Class NikeFS2RandomAccessStorageImpl.FS2DataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.deckfour.xes.nikefs2.NikeFS2RandomAccessStorageImpl.FS2DataOutputStream
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable
- Enclosing class:
- NikeFS2RandomAccessStorageImpl
protected class NikeFS2RandomAccessStorageImpl.FS2DataOutputStream
- extends DataOutputStream
Internal support class implementing a data output stream
with NikeFS2-block-safe UTF-8 string serialization.
- Author:
- Christian W. Guenther (christian@deckfour.org)
Method Summary |
void |
writeSafeUTF(String str)
Serializes the given string in a block-safe manner. |
Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NikeFS2RandomAccessStorageImpl.FS2DataOutputStream
public NikeFS2RandomAccessStorageImpl.FS2DataOutputStream(OutputStream out)
- Parameters:
out
- Output stream to write to.
writeSafeUTF
public void writeSafeUTF(String str)
throws IOException
- Serializes the given string in a block-safe manner.
- Parameters:
str
- String to be serialized.
- Throws:
IOException