A Binary object holds a JCR property value of type BINARY. The Binary interface and the related methods in Property, Value and ValueFactory replace the deprecated Value#getStream and Property#getStream methods.
JCR 2.0
Returns the size of this Binary value in bytes.
If #dispose() has been called on this Binary object, then this method will throw the runtime exception java.lang.IllegalStateException.
the size of this value in bytes.
RepositoryException if an error occurs.
A Binary object holds a JCR property value of type BINARY. The Binary interface and the related methods in Property, Value and ValueFactory replace the deprecated Value#getStream and Property#getStream methods.
Since
JCR 2.0