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()
BinaryHolder
getData
in interface BinaryHolder
public InputStream getStream()
BinaryHolder
getStream
in interface BinaryHolder
public BinaryValue getValue()
public Blob getBlob()
BinaryHolder
getBlob
in interface BinaryHolder
public String getDatasourceJndi()
BinaryHolder
getDatasourceJndi
in interface BinaryHolder
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.