org.axiondb.types

Class FileOffsetLobSource

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.4 $ $Date: 2005/04/13 00:42:58 $

Author: Rodney Waldhoff

Constructor Summary
FileOffsetLobSource(BufferedDataInputStream in, long offset, int length)
Method Summary
InputStreamgetInputStream()
longlength()
OutputStreamsetOutputStream(long pos)
voidtruncate(long length)

Constructor Detail

FileOffsetLobSource

public FileOffsetLobSource(BufferedDataInputStream in, long offset, int length)

Method Detail

getInputStream

public InputStream getInputStream()

length

public long length()

setOutputStream

public OutputStream setOutputStream(long pos)

truncate

public void truncate(long length)