org.axiondb.types
Class CompressedLobSource
java.lang.Object
org.axiondb.types.CompressedLobSource
- All Implemented Interfaces:
- LobSource
public class CompressedLobSource
- extends Object
- implements LobSource
A LobSource
that compresses/decompresses
the input/output streams using GZIP compression.
- Version:
- $Revision: 1.3 $ $Date: 2004/09/09 23:47:42 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedLobSource
public CompressedLobSource(LobSource source)
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