S
- The expected source typeT
- The output typepublic interface ContentTypeConverter<S,T>
byte[]
or
InputStream
), or may produce a different data type than they consume.Modifier and Type | Method and Description |
---|---|
T |
convert(S original)
Converts the given object into another.
|
Class<S> |
expectedSourceType()
The expected type of input data.
|
Class<T> |
targetType()
The returned type of IntermediateRepresentation
|
Class<S> expectedSourceType()
Class<T> targetType()
T convert(S original)
SerializedObject
instance.original
- the value to convertCopyright © 2010–2020. All rights reserved.