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)
QValueFactoryQValue with type PropertyType.BINARY.QValue.QValueFactory.create(byte[])public QValue create(java.io.InputStream value) throws java.io.IOException
QValueFactoryPropertyType.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
QValueFactoryQValue with type PropertyType.BINARY.QValue.java.io.IOExceptionQValueFactory.create(File)Copyright © 2010 - 2023 Adobe. All Rights Reserved