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
RepositoryExceptionpublic int read(byte[] b,
long position)
throws java.io.IOException,
RepositoryException
java.io.IOExceptionRepositoryExceptionpublic long getSize()
throws RepositoryException
RepositoryExceptionpublic void dispose()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"