Package org.apache.jackrabbit.api
Interface ReferenceBinary
-
- All Superinterfaces:
Binary
@ProviderType public interface ReferenceBinary extends Binary
Referenceable binary. In addition to the normal JCRBinary
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getReference()
Returns a secure reference to this binary, ornull
if such a reference is not available.
-
-
-
Method Detail
-
getReference
String getReference()
Returns a secure reference to this binary, ornull
if such a reference is not available.- Returns:
- binary reference, or
null
-
-