|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface BinaryFactory
A factory for creating BinaryValue
instances. This interface extends the ValueFactory
generic interface and adds
specific methods for creating binary objects.
Field Summary |
---|
Fields inherited from interface org.modeshape.jcr.value.ValueFactory |
---|
DEFAULT_DECODER, DEFAULT_ENCODER |
Method Summary | |
---|---|
BinaryValue |
find(BinaryKey secureHash,
long size)
Find an existing binary value given the supplied binary key. |
Methods inherited from interface org.modeshape.jcr.value.ValueFactory |
---|
create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, getPropertyType |
Method Detail |
---|
BinaryValue find(BinaryKey secureHash, long size) throws BinaryStoreException
secureHash
- the secure hash of the binary content, which was probably obtained
from a
previously-held BinaryValue
object; a null or empty value is allowed, but will always result in returning nullsize
- the size of the binary content
BinaryStoreException
- if there is a problem accessing the binary store
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |