org.apache.jackrabbit.api
Interface ReferenceBinary

All Superinterfaces:
Binary

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
 String getReference()
          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 Detail

getReference

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

Returns:
binary reference, or null


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.