public interface BITContainer extends ReadableBITContainer, WritableBITContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
| Modifier and Type | Method and Description |
|---|---|
BITContainer |
append(byte[] t)
Append the object to the end of the container.
|
default <T> BITContainer |
appendWith(Serializer<T> serializer,
int chunkSize,
T object)
Put the provided object of type
T into the container, using
the provided Serializer to convert from bytes. |
default <T> BITContainer |
appendWith(Serializer<T> serializer,
T object)
Add the provided object of type
T to the container, using
the provided Serializer to convert from bytes. |
BITContainer |
put(byte[] t)
Overwrite the container contents with the supplied object.
|
default <T> BITContainer |
putWith(Serializer<T> serializer,
int chunkSize,
T object)
Put the provided object of type
T into the container, using
the provided Serializer to convert from bytes. |
default <T> BITContainer |
putWith(Serializer<T> serializer,
T object)
Put the provided object of type
T into the container, using
the provided Serializer to convert from bytes. |
asInputStream, get, getWith, getWith, read, read, with, withasOutputStream, with, withstatic final java.lang.String COPYRIGHT
BITContainer append(byte[] t) throws CICSConditionException
EXEC CICS API commands:
EXEC CICS PUT CONTAINERappend in interface WritableBITContainerappend in interface WritableContainer<byte[]>t - object to appendCICSConditionException - If there's a problem in CICS
RespCodes:
BITContainer put(byte[] t) throws CICSConditionException
EXEC CICS API commands:
EXEC CICS PUT CONTAINERput in interface WritableBITContainerput in interface WritableContainer<byte[]>t - object to putCICSConditionException - If there's a problem in CICS
RespCodes:
default <T> BITContainer appendWith(Serializer<T> serializer, T object) throws CICSConditionException, java.io.IOException
T to the container, using
the provided Serializer to convert from bytes. This method
will append to any existing container contents. This method effectively
calls WritableBITContainer.with(Serializer) followed by
WritableContainer.append(Object)
The object will be serialized into the wrapped BIT container using the
supplied Serializer. Some Serializers are available using
static methods on the Serializers class, or can be custom-written.
This implementation will write all data to the underlying CICS container
at once. For an implementation that writes the data in chunks, see
WritableBITContainer.appendWith(Serializer, int, Object).
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.append(Object)
appendWith in interface WritableBITContainerT - The type that the Serializer serializes bytes fromserializer - The Serializer used to write the object into
the bytes in the containerobject - The object to write to the containerCICSConditionException - if there is a problem writing the data to the
CICS container.
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.append(Object)
java.io.IOException - If there is a problem serializing the datadefault <T> BITContainer appendWith(Serializer<T> serializer, int chunkSize, T object) throws CICSConditionException, java.io.IOException
T into the container, using
the provided Serializer to convert from bytes. This method
will append to any existing container contents. This method effectively
calls WritableBITContainer.with(Serializer, int) followed by
WritableContainer.append(Object)
The object will be serialized into the wrapped BIT container using the
supplied Serializer. Some Serializers are available using
static methods on the Serializers class, or can be custom-written.
This implementation will write data to the underlying CICS container in
chunks of chunkSize. For an implementation that writes all data
to the container at once, see
WritableBITContainer.appendWith(Serializer, Object)
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.append(Object)
appendWith in interface WritableBITContainerT - The type that the Serializer serializes bytes fromserializer - The Serializer used to write the object into
the bytes in the containerchunkSize - How many bytes buffer before writing to the CICS containerobject - The object to write to the containerCICSConditionException - if there is a problem writing the data to the
CICS container.
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.append(Object)
java.io.IOException - If there is a problem serializing the datadefault <T> BITContainer putWith(Serializer<T> serializer, T object) throws CICSConditionException, java.io.IOException
T into the container, using
the provided Serializer to convert from bytes. This method
will overwrite any existing container contents. This method effectively
calls WritableBITContainer.with(Serializer) followed by
WritableContainer.put(Object)
The object will be serialized into the wrapped BIT container using the
supplied Serializer. Some Serializers are available using
static methods on the Serializers class, or can be custom-written.
This implementation will write all data to the underlying CICS container
at once. For an implementation that writes the data in chunks, see
WritableBITContainer.putWith(Serializer, int, Object).
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.put(Object)
putWith in interface WritableBITContainerT - The type that the Serializer serializes bytes fromserializer - The Serializer used to write the object into
the bytes in the containerobject - The object to write to the containerCICSConditionException - if there is a problem writing the data to the
CICS container.
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.put(Object)
java.io.IOException - If there is a problem serializing the datadefault <T> BITContainer putWith(Serializer<T> serializer, int chunkSize, T object) throws CICSConditionException, java.io.IOException
T into the container, using
the provided Serializer to convert from bytes. This method
will overwrite any existing container contents. This method effectively
calls WritableBITContainer.with(Serializer, int) followed by
WritableContainer.put(Object)
The object will be serialized into the wrapped BIT container using the
supplied Serializer. Some Serializers are available using
static methods on the Serializers class, or can be custom-written.
This implementation will write data to the underlying CICS container in
chunks of chunkSize. For an implementation that writes all data
to the container at once, see
WritableBITContainer.putWith(Serializer, Object)
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.put(Object)
putWith in interface WritableBITContainerT - The type that the Serializer serializes bytes fromserializer - The Serializer used to write the object into
the bytes in the containerchunkSize - How many bytes buffer before writing to the CICS containerobject - The object to write to the containerCICSConditionException - if there is a problem writing the data to the
CICS container.
For information about EXEC CICS API commands and associated
RespCodes, see WritableContainer.put(Object)
java.io.IOException - If there is a problem serializing the data