|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.persist.jdbc.DBAccess.BlobFileHandle
public static final class DBAccess.BlobFileHandle
The DBAccess.BlobFileHandle is a simple IFileHandle implementation
that stores a Blob and allows to retrieve it again.
| Constructor Summary | |
|---|---|
DBAccess.BlobFileHandle(DBAccess pDBAccess,
java.lang.String pStatement,
java.lang.Object[] pParameter,
java.lang.String pColumnName,
long pLength)
Creates a new instance of DBAccess.BlobFileHandle. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Gets the file name of this file handle. |
java.io.InputStream |
getInputStream()
Gets the InputStream of this file handle. |
long |
getLength()
Gets the length of the InputStream in bytes |
boolean |
isValid()
Gets if this object is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBAccess.BlobFileHandle(DBAccess pDBAccess,
java.lang.String pStatement,
java.lang.Object[] pParameter,
java.lang.String pColumnName,
long pLength)
DBAccess.BlobFileHandle.
pDBAccess - the dBAccess.pStatement - the statement.pParameter - the parameter.pColumnName - the column name.pLength - the length.| Method Detail |
|---|
public java.lang.String getFileName()
getFileName in interface IFileHandle
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface IFileHandlejava.io.IOException - if an exception occurs.
public long getLength()
throws java.io.IOException
getLength in interface IFileHandlejava.io.IOException - if an exception occurs.public boolean isValid()
isValid in interface IValidatabletrue if this object is valid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||