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 voiddispose()StringgetReference()longgetSize()InputStreamgetStream()intread(byte[] b, long position)
-
-
-
Constructor Detail
-
SimpleReferenceBinary
public SimpleReferenceBinary(String reference)
-
-
Method Detail
-
getReference
public String getReference()
- Specified by:
getReferencein interfaceReferenceBinary
-
getStream
public InputStream getStream() throws RepositoryException
- Specified by:
getStreamin interfaceBinary- Throws:
RepositoryException
-
read
public int read(byte[] b, long position) throws IOException, RepositoryException- Specified by:
readin interfaceBinary- Throws:
IOExceptionRepositoryException
-
getSize
public long getSize() throws RepositoryException- Specified by:
getSizein interfaceBinary- Throws:
RepositoryException
-
-