Interface TypedConverter<T>
- Type Parameters:
T- Type of the data that is operated on.
public interface TypedConverter<T>
Interface describing the strongly typed operations to represent data as various other types
that can be needed for operations in the Frank!Framework.
Concrete implementations should specify the concrete type of
<T> upon which they operate.
The sub-interfaces org.frankframework.dataconversion.TypedCharacterDataConverter<T> and org.frankframework.dataconversion.TypedBinaryDataConverter<T> add
operations that have require different parameters for binary vs character data.-
Method Summary
Modifier and TypeMethodDescriptionbyte[]asByteArray(T data) asInputSource(T data) asInputStream(T data) default SerializableasSerializable(T data) default Sourcedefault booleandefault booleanlong
-
Method Details
-
prefersStreaming
default boolean prefersStreaming() -
size
-
isEmpty
-
asSerializable
- Throws:
IOException
-
asByteArray
- Throws:
IOException
-
asInputStream
- Throws:
IOException
-
asInputSource
- Throws:
IOException
-
asSource
- Throws:
IOExceptionSAXException
-