org.axiondb.types
Class FileOffsetLobLocator

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

public class FileOffsetLobLocator
extends java.lang.Object
implements LobLocator

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

Version:
$Revision: 1.3 $ $Date: 2005/04/13 00:42:58 $

Constructor Summary
FileOffsetLobLocator(long offset, int length)
           
 
Method Summary
 LobSource getLobSource(java.io.File parentDir, BufferedDataInputStream in)
           
 LobLocator read(java.io.DataInput in)
           
 java.lang.String toString()
           
 void write(java.io.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(java.io.File parentDir,
                              BufferedDataInputStream in)
                       throws AxionException
Specified by:
getLobSource in interface LobLocator
Throws:
AxionException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Throws:
java.io.IOException

read

public LobLocator read(java.io.DataInput in)
                throws java.io.IOException
Throws:
java.io.IOException