Class SimpleReferenceBinary
- java.lang.Object
-
- org.apache.jackrabbit.commons.jackrabbit.SimpleReferenceBinary
-
- All Implemented Interfaces:
Binary
,ReferenceBinary
public class SimpleReferenceBinary extends Object implements ReferenceBinary
-
-
Constructor Summary
Constructors Constructor Description SimpleReferenceBinary(String reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
String
getReference()
long
getSize()
InputStream
getStream()
int
read(byte[] b, long position)
-
-
-
Constructor Detail
-
SimpleReferenceBinary
public SimpleReferenceBinary(String reference)
-
-
Method Detail
-
getReference
public String getReference()
- Specified by:
getReference
in interfaceReferenceBinary
-
getStream
public InputStream getStream() throws RepositoryException
- Specified by:
getStream
in interfaceBinary
- Throws:
RepositoryException
-
read
public int read(byte[] b, long position) throws IOException, RepositoryException
- Specified by:
read
in interfaceBinary
- Throws:
IOException
RepositoryException
-
getSize
public long getSize() throws RepositoryException
- Specified by:
getSize
in interfaceBinary
- Throws:
RepositoryException
-
-