Interface ReferenceBinary

All Superinterfaces:
Binary

@ProviderType public interface ReferenceBinary extends Binary
Referenceable binary. In addition to the normal JCR Binary functionality, implementations of this class contain a secure reference to the storage location of the binary stream. This reference can be used to efficiently copy binaries across servers as long as both the source and target servers use the same underlying storage for binaries.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a secure reference to this binary, or null if such a reference is not available.

    Methods inherited from interface javax.jcr.Binary

    dispose, getSize, getStream, read
  • Method Details

    • getReference

      String getReference()
      Returns a secure reference to this binary, or null if such a reference is not available.
      Returns:
      binary reference, or null