org.axiondb.types
Class FileLobSource
java.lang.Object
org.axiondb.types.FileLobSource
- All Implemented Interfaces:
- LobSource
- public class FileLobSource
- extends Object
- implements LobSource
A LobSource
that's backed by a simple File
.
- Version:
- $Revision: 1.4 $ $Date: 2003/07/22 16:57:15 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileLobSource
public FileLobSource(File file)
length
public long length()
throws AxionException
- Specified by:
length
in interface LobSource
- Throws:
AxionException
truncate
public void truncate(long length)
throws AxionException
- Specified by:
truncate
in interface LobSource
- Throws:
AxionException
getInputStream
public InputStream getInputStream()
throws AxionException
- Specified by:
getInputStream
in interface LobSource
- Throws:
AxionException
setOutputStream
public OutputStream setOutputStream(long pos)
throws AxionException
- Specified by:
setOutputStream
in interface LobSource
- Throws:
AxionException
getFile
public File getFile()