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()
ReferenceBinary
null
if such
a reference is not available.getReference
in interface ReferenceBinary
null
public java.io.InputStream getStream() throws RepositoryException
RepositoryException
public int read(byte[] b, long position) throws java.io.IOException, RepositoryException
java.io.IOException
RepositoryException
public long getSize() throws RepositoryException
RepositoryException
public void dispose()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"