sf logo

sf.qof.adapter
Class BlobReader

java.lang.Object
  extended by sf.qof.adapter.BlobReader

public class BlobReader
extends Object

BlobReader is a helper class to read data from Blobs to a byte-array.

See Also:
Blob

Constructor Summary
BlobReader()
           
 
Method Summary
static byte[] readBlob(Blob blob)
          Reads data from a blob.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobReader

public BlobReader()
Method Detail

readBlob

public static byte[] readBlob(Blob blob)
                       throws SQLException
Reads data from a blob.

Parameters:
blob - the blob
Returns:
the blob data as string
Throws:
SQLException - an error occurred
See Also:
Blob

sf logo

Copyright © 2007 brunella ltd. All Rights Reserved.