org.cdlib.xtf.util
Class SubStoreWriter
Object
SubStoreWriter
- Direct Known Subclasses:
- SubFileWriter
public abstract class SubStoreWriter
- extends Object
Writes to a single sub-store within a StructuredStore
. A sub-store
provides most of the interface of a RandomAccessFile, and takes care of
writing to the correct subset of the main StructuredStore.
- Author:
- Martin Haye
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubStoreWriter
public SubStoreWriter()
write
public void write(byte[] b)
throws IOException
- Throws:
IOException
write
public abstract void write(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
writeByte
public abstract void writeByte(int b)
throws IOException
- Throws:
IOException
writeChars
public void writeChars(String s)
throws IOException
- Throws:
IOException
writeInt
public abstract void writeInt(int v)
throws IOException
- Throws:
IOException
length
public abstract long length()
throws IOException
- Throws:
IOException
close
public abstract void close()
throws IOException
- Throws:
IOException