org.axiondb.types
Class CompressedLobSource

java.lang.Object
  extended byorg.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 $

Constructor Summary
CompressedLobSource(LobSource source)
           
 
Method Summary
 InputStream getInputStream()
           
 long length()
           
 OutputStream setOutputStream(long pos)
           
 void truncate(long length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressedLobSource

public CompressedLobSource(LobSource source)
Method Detail

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