org.axiondb.types
Class FileLobLocator

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

public class FileLobLocator
extends Object
implements LobLocator

A file-based LobLocator.

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

Constructor Summary
FileLobLocator(File file)
           
FileLobLocator(String directory, String file)
           
 
Method Summary
 String getDirectoryName()
           
 File getFile(File parentDir)
           
 String getFileName()
           
 LobSource getLobSource(File parentDir, BufferedDataInputStream in)
           
 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

FileLobLocator

public FileLobLocator(File file)

FileLobLocator

public FileLobLocator(String directory,
                      String file)
Method Detail

getDirectoryName

public String getDirectoryName()

getFileName

public String getFileName()

getFile

public File getFile(File parentDir)

getLobSource

public LobSource getLobSource(File parentDir,
                              BufferedDataInputStream in)
Specified by:
getLobSource in interface LobLocator

toString

public String toString()
Overrides:
toString in class Object

write

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

read

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