org.axiondb.types

Class BlobSource

public class BlobSource extends AbstractAxionBlob

A Blob wrapping a LobSource.

Version: $Revision: 1.4 $ $Date: 2003/05/14 15:38:12 $

Author: Rodney Waldhoff

Constructor Summary
BlobSource(LobSource lob)
Method Summary
InputStreamgetBinaryStream()
byte[]getBytes(long pos, int length)
longlength()
OutputStreamsetBinaryStream(long pos)
voidsetLobSource(LobSource lob)
voidtruncate(long length)

Constructor Detail

BlobSource

public BlobSource(LobSource lob)

Method Detail

getBinaryStream

public InputStream getBinaryStream()

getBytes

public byte[] getBytes(long pos, int length)

length

public long length()

setBinaryStream

public OutputStream setBinaryStream(long pos)

setLobSource

public void setLobSource(LobSource lob)

truncate

public void truncate(long length)