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(java.io.File value)
Create a new
QValue with type javax.jcr.PropertyType#BINARY . |
QValue |
create(java.io.InputStream value)
Creates a QValue that contains the given binary stream.
|
static QValueFactory |
getInstance() |
public static QValueFactory getInstance()
public QValue create(byte[] value)
QValueFactory
QValue
with type javax.jcr.PropertyType#BINARY
.QValue
.QValueFactory.create(byte[])
public QValue create(java.io.InputStream value) throws java.io.IOException
QValueFactory
javax.jcr.PropertyType#BINARY
.value
- binary streamQValue
.java.io.IOException
- if the stream can not be consumedQValueFactory.create(InputStream)
public QValue create(java.io.File value) throws java.io.IOException
QValueFactory
QValue
with type javax.jcr.PropertyType#BINARY
.QValue
.java.io.IOException
QValueFactory.create(File)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"