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
getStream
in interface Binary
RepositoryException
public int read(byte[] b, long position) throws java.io.IOException, RepositoryException
read
in interface Binary
java.io.IOException
RepositoryException
public long getSize() throws RepositoryException
getSize
in interface Binary
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved