public class FileValueTypeImpl extends AbstractValueTypeImpl implements FileValueType
InputStream
.name
VALUE_INFO_FILE_ENCODING, VALUE_INFO_FILE_MIME_TYPE, VALUE_INFO_FILE_NAME
Constructor and Description |
---|
FileValueTypeImpl() |
Modifier and Type | Method and Description |
---|---|
TypedValue |
createValue(Object value,
Map<String,Object> valueInfo)
Creates a new TypedValue using this type.
|
Map<String,Object> |
getValueInfo(TypedValue typedValue)
Get the value info (meta data) for a
TypedValue . |
boolean |
isPrimitiveValueType()
Indicates whether this type is primitive valued.
|
canConvertFromTypedValue, convertFromTypedValue, equals, getName, getParent, hashCode, isAbstract, isTransient, toString, unsupportedConversion
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canConvertFromTypedValue, convertFromTypedValue, getName, getParent, isAbstract
public TypedValue createValue(Object value, Map<String,Object> valueInfo)
ValueType
createValue
in interface ValueType
value
- the valuepublic Map<String,Object> getValueInfo(TypedValue typedValue)
ValueType
TypedValue
.
The keys of the returned map for a TypedValue
are available
as constants in the value's ValueType
interface.getValueInfo
in interface ValueType
public boolean isPrimitiveValueType()
ValueType
isPrimitiveValueType
in interface ValueType
Copyright © 2022. All rights reserved.