public class SimpleReferenceBinary extends java.lang.Object implements ReferenceBinary
| Constructor and Description |
|---|
SimpleReferenceBinary(java.lang.String reference) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
java.lang.String |
getReference()
Returns a secure reference to this binary, or
null if such
a reference is not available. |
long |
getSize() |
java.io.InputStream |
getStream() |
int |
read(byte[] b,
long position) |
public java.lang.String getReference()
ReferenceBinarynull if such
a reference is not available.getReference in interface ReferenceBinarynullpublic java.io.InputStream getStream()
throws javax.jcr.RepositoryException
getStream in interface javax.jcr.Binaryjavax.jcr.RepositoryExceptionpublic int read(byte[] b,
long position)
throws java.io.IOException,
javax.jcr.RepositoryException
read in interface javax.jcr.Binaryjava.io.IOExceptionjavax.jcr.RepositoryExceptionpublic long getSize()
throws javax.jcr.RepositoryException
getSize in interface javax.jcr.Binaryjavax.jcr.RepositoryExceptionpublic void dispose()
dispose in interface javax.jcr.BinaryCopyright © 2010 - 2025 Adobe. All Rights Reserved