|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.org.ogsadai.converters.webrowset.resultset.types.TypeStrategy
uk.org.ogsadai.converters.webrowset.resultset.types.BlobStrategy
public class BlobStrategy
Converts a string value into a java.sql.Blob.
| Constructor Summary | |
|---|---|
BlobStrategy()
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getBinaryStream(java.lang.String data)
Returns an input stream that reads the input string as binary data. |
java.sql.Blob |
getBlob(java.lang.String data)
Returns the input string as a Blob. |
byte[] |
getBytes(java.lang.String data)
Returns the input string as a byte array. |
java.lang.Object |
getObject(java.lang.String data)
Returns the input string as an object. |
| Methods inherited from class uk.org.ogsadai.converters.webrowset.resultset.types.TypeStrategy |
|---|
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBoolean, getByte, getCharacterStream, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlobStrategy()
| Method Detail |
|---|
public java.io.InputStream getBinaryStream(java.lang.String data)
throws java.sql.SQLException
TypeStrategy
getBinaryStream in class TypeStrategydata - Input data.
java.sql.SQLException - if there was a problem with the conversion.
public java.sql.Blob getBlob(java.lang.String data)
throws java.sql.SQLException
TypeStrategyBlob.
getBlob in class TypeStrategydata - Input data.
java.sql.SQLException - if there was a problem with the conversion.
public byte[] getBytes(java.lang.String data)
throws java.sql.SQLException
TypeStrategy
getBytes in class TypeStrategydata - Input data.
java.sql.SQLException - if there was a problem with the conversion.
public java.lang.Object getObject(java.lang.String data)
throws java.sql.SQLException
TypeStrategy
getObject in class TypeStrategydata - Input data.
java.sql.SQLException - if there was a problem with the conversion.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||