|
ModeShape Distribution 3.1.0.Final | |||||||||
| 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. |
BinaryFactory |
with(BinaryStore binaryStore)
Return a potentially new copy of this factory that uses the supplied BinaryStore object. |
BinaryFactory |
with(ValueFactories valueFactories)
Return a potentially new copy of this factory that uses the supplied ValueFactories object. |
| 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 |
|---|
BinaryFactory with(ValueFactories valueFactories)
ValueFactory
with in interface ValueFactory<BinaryValue>valueFactories - the value factories object; may not be null
BinaryFactory with(BinaryStore binaryStore)
BinaryStore object.
binaryStore - the binary store; may not be null
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.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||