org.axiondb.types
Class FileLobLocator
java.lang.Object
org.axiondb.types.FileLobLocator
- All Implemented Interfaces:
- LobLocator
public class FileLobLocator
- extends java.lang.Object
- implements LobLocator
A file-based LobLocator
.
- Version:
- $Revision: 1.4 $ $Date: 2005/04/13 00:42:58 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileLobLocator
public FileLobLocator(java.io.File file)
FileLobLocator
public FileLobLocator(java.lang.String directory,
java.lang.String file)
getDirectoryName
public java.lang.String getDirectoryName()
getFileName
public java.lang.String getFileName()
getFile
public java.io.File getFile(java.io.File parentDir)
getLobSource
public LobSource getLobSource(java.io.File parentDir,
BufferedDataInputStream in)
- Specified by:
getLobSource
in interface LobLocator
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