org.axiondb.types
Class FileOffsetLobSource
java.lang.Object
org.axiondb.types.FileOffsetLobSource
- All Implemented Interfaces:
- LobSource
- public class FileOffsetLobSource
- extends Object
- implements LobSource
A LobSource
that's backed by a single file, storing
each LOB as an offset and length.
- Version:
- $Revision: 1.2 $ $Date: 2002/12/16 23:34:55 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileOffsetLobSource
public FileOffsetLobSource(RandomAccessFile file,
long offset,
int length)
length
public long length()
throws AxionException
- Specified by:
length
in interface LobSource
- Throws:
AxionException
truncate
public void truncate(long length)
throws AxionException
- Specified by:
truncate
in interface LobSource
- Throws:
AxionException
getInputStream
public InputStream getInputStream()
throws AxionException
- Specified by:
getInputStream
in interface LobSource
- Throws:
AxionException
setOutputStream
public OutputStream setOutputStream(long pos)
throws AxionException
- Specified by:
setOutputStream
in interface LobSource
- Throws:
AxionException