Class QValueFactoryImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
org.apache.jackrabbit.spi.commons.value.QValueFactoryImpl
- All Implemented Interfaces:
QValueFactory
QValueFactoryImpl...-
Field Summary
Fields inherited from class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
DEFAULT_ENCODING -
Method Summary
Modifier and TypeMethodDescriptioncreate(byte[] value) Create a newQValuewith typePropertyType.BINARY.Create a newQValuewith typePropertyType.BINARY.create(InputStream value) Creates a QValue that contains the given binary stream.static QValueFactory
-
Method Details
-
getInstance
-
create
Description copied from interface:QValueFactoryCreate a newQValuewith typePropertyType.BINARY.- Parameters:
value-- Returns:
- a new
QValue. - See Also:
-
create
Description copied from interface:QValueFactoryCreates a QValue that contains the given binary stream. The given stream is consumed and closed by this method. The type of the resulting QValue will bePropertyType.BINARY.- Parameters:
value- binary stream- Returns:
- a new binary
QValue. - Throws:
IOException- if the stream can not be consumed- See Also:
-
create
Description copied from interface:QValueFactoryCreate a newQValuewith typePropertyType.BINARY.- Parameters:
value-- Returns:
- a new binary
QValue. - Throws:
IOException- See Also:
-