|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Immutable public interface BinaryValue
Value holder for binary data. BinaryValue extends the public Binary interface (which itself extends
Binary) and adds requirements such as being serializable and comparable.
| Method Summary | |
|---|---|
BinaryKey |
getKey()
Get the key for the binary value. |
long |
getSize()
Get the length of this binary data. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.modeshape.jcr.api.Binary |
|---|
getHash, getHexHash, getMimeType, getMimeType |
| Methods inherited from interface javax.jcr.Binary |
|---|
dispose, getStream, read |
| Method Detail |
|---|
long getSize()
Note that this method, unlike the standard Binary.getSize() method, does not throw an exception.
getSize in interface BinaryBinaryKey getKey()
|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||