public final class FieldValueFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static Collection<FieldValue> |
create(Collection<?> originalValues) |
static FieldValue |
create(Object value)
Factory method to create a fieldValue from an object.
|
static FieldValue |
create(com.hpe.caf.util.ref.ReferencedData value)
Factory method to create a fieldValue from a ReferencedData object.
|
static FieldValue |
create(String value)
Factory method to create a fieldValue from a string.
|
static FieldValue |
create(String value,
FieldEncoding requestedEncoding)
Factory method to create a fieldValue from a string, defaults to utf8 encoding.
|
static byte[] |
getByteArrayFromString(String value)
Get byte array from a string value - this is the encoding used for raw bytes within our referenced data blob.
|
public static final FieldValue create(String value)
value - public static final FieldValue create(com.hpe.caf.util.ref.ReferencedData value)
value - public static final FieldValue create(String value, FieldEncoding requestedEncoding)
value - requestedEncoding - public static FieldValue create(Object value)
value - public static Collection<FieldValue> create(Collection<?> originalValues)
public static byte[] getByteArrayFromString(String value)
value - Copyright © 2015–2017 EntIT Software LLC, a Micro Focus company. All rights reserved.