public class QValueFactoryImpl extends AbstractQValueFactory
QValueFactoryImpl
...DEFAULT_ENCODING
Modifier and Type | Method and Description |
---|---|
QValue |
create(byte[] value)
Create a new
QValue with type PropertyType.BINARY . |
QValue |
create(java.io.File value)
Create a new
QValue with type 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 PropertyType.BINARY
.QValue
.QValueFactory.create(byte[])
public QValue create(java.io.InputStream value) throws java.io.IOException
QValueFactory
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 PropertyType.BINARY
.QValue
.java.io.IOException
QValueFactory.create(File)
Copyright © 2010 - 2020 Adobe. All Rights Reserved