|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.AbstractBlob
to.etc.domui.util.FileBlob
public class FileBlob
A BLOB class which can be used to set the value of a BLOB property from a source file. BLOB thingies are unmutable once set.
Constructor Summary | |
---|---|
FileBlob(java.io.File src)
|
Method Summary | |
---|---|
java.io.InputStream |
getBinaryStream()
|
long |
length()
|
Methods inherited from class to.etc.domui.util.AbstractBlob |
---|
free, getBinaryStream, getBytes, position, position, setBinaryStream, setBytes, setBytes, truncate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBlob(java.io.File src)
Method Detail |
---|
public java.io.InputStream getBinaryStream() throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
getBinaryStream
in class AbstractBlob
java.sql.SQLException
public long length() throws java.sql.SQLException
length
in interface java.sql.Blob
length
in class AbstractBlob
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |