T
- The type of object that the Deserializer
produces@FunctionalInterface
public interface Deserializer<T>
A Deserializer
is capable of transforming the content of a
BitContainer
into an object of type T
.
A number of built-in Deserializer
factories are available via
static methods on the Deserializers
class:
Modifier and Type | Method and Description |
---|---|
T |
deserialize(java.io.InputStream in)
Deserializes the content of a container into an object of type
T . |
T deserialize(java.io.InputStream in) throws CICSConditionIOException, java.io.IOException
T
. This
is used to decorate an InputStream
which is providing data from a
ReadableBITContainer
. As such, the underlying container may encounter
CICSConditionIOException
s which will likely be encountered by implementations
of this interface. For information about EXEC CICS
API commands and
RespCode
s, see ReadableBITContainer.read(byte[], int, int, int)
in
- The InputStream to read data fromjava.io.IOException
- if there is a problem deserializing the input dataCICSConditionIOException
- if there's a problem getting the data from the container