public class QValueFactoryImpl extends AbstractQValueFactory
QValueFactoryImpl...DEFAULT_ENCODING| Modifier and Type | Method and Description |
|---|---|
QValue |
create(byte[] value)
Create a new
QValue with type javax.jcr.PropertyType#BINARY. |
QValue |
create(File value)
Create a new
QValue with type javax.jcr.PropertyType#BINARY. |
QValue |
create(InputStream value)
Creates a QValue that contains the given binary stream.
|
static QValueFactory |
getInstance() |
public static QValueFactory getInstance()
public QValue create(byte[] value)
QValueFactoryQValue with type javax.jcr.PropertyType#BINARY.QValue.QValueFactory.create(byte[])public QValue create(InputStream value) throws IOException
QValueFactoryjavax.jcr.PropertyType#BINARY.value - binary streamQValue.IOException - if the stream can not be consumedQValueFactory.create(InputStream)public QValue create(File value) throws IOException
QValueFactoryQValue with type javax.jcr.PropertyType#BINARY.QValue.IOExceptionQValueFactory.create(File)"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"