org.apache.jackrabbit.commons.jackrabbit
Class SimpleReferenceBinary
java.lang.Object
org.apache.jackrabbit.commons.jackrabbit.SimpleReferenceBinary
- All Implemented Interfaces:
- Binary, org.apache.jackrabbit.api.ReferenceBinary
public class SimpleReferenceBinary
- extends Object
- implements org.apache.jackrabbit.api.ReferenceBinary
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleReferenceBinary
public SimpleReferenceBinary(String reference)
getReference
public String getReference()
- Specified by:
getReference in interface org.apache.jackrabbit.api.ReferenceBinary
getStream
public InputStream getStream()
throws RepositoryException
- Specified by:
getStream in interface Binary
- Throws:
RepositoryException
read
public int read(byte[] b,
long position)
throws IOException,
RepositoryException
- Specified by:
read in interface Binary
- Throws:
IOException
RepositoryException
getSize
public long getSize()
throws RepositoryException
- Specified by:
getSize in interface Binary
- Throws:
RepositoryException
dispose
public void dispose()
- Specified by:
dispose in interface Binary
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.