com.ibm.as400.access.jdbcClient
Class ClientBlob

java.lang.Object
  extended by com.ibm.as400.access.jdbcClient.ClientBlob
All Implemented Interfaces:
Serializable, Blob

public class ClientBlob
extends Object
implements Blob, Serializable

See Also:
Serialized Form

Constructor Summary
ClientBlob(byte[] data)
           
 
Method Summary
 void free()
           
 InputStream getBinaryStream()
           
 InputStream getBinaryStream(long pos, long length)
           
 byte[] getBytes(long start, int length)
           
 long length()
           
 long position(Blob pattern, long start)
           
 long position(byte[] pattern, long start)
           
 OutputStream setBinaryStream(long pos)
           
 int setBytes(long pos, byte[] bytes)
           
 int setBytes(long pos, byte[] bytes, int offest, int len)
           
 void truncate(long len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientBlob

public ClientBlob(byte[] data)
Method Detail

getBinaryStream

public InputStream getBinaryStream()

getBinaryStream

public InputStream getBinaryStream(long pos,
                                   long length)

position

public long position(byte[] pattern,
                     long start)

position

public long position(Blob pattern,
                     long start)

getBytes

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

length

public long length()

setBytes

public int setBytes(long pos,
                    byte[] bytes)

setBytes

public int setBytes(long pos,
                    byte[] bytes,
                    int offest,
                    int len)

setBinaryStream

public OutputStream setBinaryStream(long pos)

truncate

public void truncate(long len)

free

public void free()