|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jcr.util.BinaryInFile
Session.getValueFactory()
and then ValueFactory.createBinary(java.io.InputStream)
instead.
public class BinaryInFile
Represents binary data stored in a file on the file system.
Constructor Summary | |
---|---|
BinaryInFile(File file)
Deprecated. |
Method Summary | |
---|---|
void |
dispose()
Deprecated. |
boolean |
equals(Object o)
Deprecated. |
long |
getSize()
Deprecated. |
InputStream |
getStream()
Deprecated. |
int |
hashCode()
Deprecated. |
int |
read(byte[] b,
long position)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BinaryInFile(File file)
Method Detail |
---|
public InputStream getStream() throws javax.jcr.RepositoryException
getStream
in interface javax.jcr.Binary
javax.jcr.RepositoryException
public int read(byte[] b, long position) throws IOException, javax.jcr.RepositoryException
read
in interface javax.jcr.Binary
IOException
javax.jcr.RepositoryException
public long getSize() throws javax.jcr.RepositoryException
getSize
in interface javax.jcr.Binary
javax.jcr.RepositoryException
public void dispose()
dispose
in interface javax.jcr.Binary
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |