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 RepositoryException
getStream in interface BinaryRepositoryExceptionpublic int read(byte[] b,
long position)
throws java.io.IOException,
RepositoryException
read in interface Binaryjava.io.IOExceptionRepositoryExceptionpublic long getSize()
throws RepositoryException
getSize in interface BinaryRepositoryExceptionCopyright © 2010 - 2022 Adobe. All Rights Reserved