public class BinaryHolderImpl extends Object implements BinaryHolder
| Constructor and Description |
|---|
BinaryHolderImpl(BinaryValue value)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob()
Returns blob.
|
byte[] |
getData()
Returns array of bytes.
|
String |
getDatasourceJndi()
Returns jndi of datasource.
|
InputStream |
getStream()
Returns stream.
|
BinaryValue |
getValue()
Returns underlying value.
|
public BinaryHolderImpl(BinaryValue value)
value - public byte[] getData()
BinaryHoldergetData in interface BinaryHolderpublic InputStream getStream()
BinaryHoldergetStream in interface BinaryHolderpublic BinaryValue getValue()
public Blob getBlob()
BinaryHoldergetBlob in interface BinaryHolderpublic String getDatasourceJndi()
BinaryHoldergetDatasourceJndi in interface BinaryHolderCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.