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

Constructors

Methods

Constructors

Methods

  • 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.

    Returns number

    the size of this value in bytes.

    Throws

    RepositoryException if an error occurs.