public class QValueFactoryImpl extends AbstractQValueFactory
QValueFactoryImpl
...DEFAULT_ENCODING, NAME_FACTORY, PATH_FACTORY
Modifier | Constructor and Description |
---|---|
protected |
QValueFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
QValue |
create(byte[] value)
Create a new
QValue with type PropertyType.BINARY . |
QValue |
create(File value)
Create a new
QValue with type PropertyType.BINARY . |
QValue |
create(InputStream value)
Creates a QValue that contains the given binary stream.
|
static QValueFactory |
getInstance() |
computeAutoValues, create, create, create, create, create, create, create, create, create, createReference, createString
public static QValueFactory getInstance()
public QValue create(byte[] value)
QValueFactory
QValue
with type PropertyType.BINARY
.QValue
.QValueFactory.create(byte[])
public QValue create(InputStream value) throws IOException
QValueFactory
PropertyType.BINARY
.value
- binary streamQValue
.IOException
- if the stream can not be consumedQValueFactory.create(InputStream)
public QValue create(File value) throws IOException
QValueFactory
QValue
with type PropertyType.BINARY
.QValue
.IOException
QValueFactory.create(File)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.