org.axiondb.types
Class FileOffsetLobLocator

java.lang.Object
  extended byorg.axiondb.types.FileOffsetLobLocator
All Implemented Interfaces:
LobLocator

public class FileOffsetLobLocator
extends Object
implements LobLocator

A LobLocator based upon an byte-offset into a file.

Version:
$Revision: 1.2 $ $Date: 2002/12/16 23:34:55 $

Constructor Summary
FileOffsetLobLocator(long offset, int length)
           
 
Method Summary
 LobSource getLobSource(File parentDir, RandomAccessFile dataFile)
           
 LobLocator read(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileOffsetLobLocator

public FileOffsetLobLocator(long offset,
                            int length)
Method Detail

getLobSource

public LobSource getLobSource(File parentDir,
                              RandomAccessFile dataFile)
                       throws AxionException
Specified by:
getLobSource in interface LobLocator
Throws:
AxionException

toString

public String toString()

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

read

public LobLocator read(DataInput in)
                throws IOException
Throws:
IOException