Session.getValueFactory()
and then ValueFactory.createBinary(java.io.InputStream)
instead.@Deprecated public class BinaryInFile extends Object implements javax.jcr.Binary
Constructor and Description |
---|
BinaryInFile(File file)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public BinaryInFile(File file)
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
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.