com.microfocus.cics.client.ContainerData
static String |
IBM037
IBM037 (EBCDIC) |
static String |
IBM1047
IBM1047 (EBCDIC) |
static String | ISO-8859-1
ISO-8859-1 |
static int | NO_CONTAINER_DATA_BYTES
Constant value to indicate container data has not been set, or container data size is 0 (empty byteArray). |
ContainerData |
Construct a ContainerData class |
ContainerData(byte[] containerData) |
Construct a ContainerData class |
ContainerData(byte[] containerData, String encoding) |
Construct a ContainerData class |
ContainerData(ContainerData that) |
Construct a ContainerData class |
ContainerData(String containerData) |
Construct a ContainerData class |
ContainerData(String containerData, String encoding) |
Construct a ContainerData class |
Method Summary | |
---|---|
boolean | equals(Object obj) |
byte[] | getContainerData() |
byte[] | getContainerDataAsAscii() |
int | getLength() |
int | hashCode() |
void | printContainerDataAsByteArray()
Print the container data as a byte array |
void | printContainerDataAsString()
Print the container data as a string |
void | setContainerData(byte[] containerData) |
public static final int NO_CONTAINER_DATA_BYTES
Constant value to indicate container data has not been set, or container data size is 0 (empty byteArray).
public static final String IBM037
IBM037 (EBCDIC)
public static final String IBM01047
IBM1047 (EBCDIC)
public static final String ISO_8859_1
ISO_8859_1
public ContainerData()
Construct a ContainerData class
public ContainerData(ContainerData that)
public ContainerData(String containerData)
containerData | Container data passed as a string |
public ContainerData(byte[] containerData)
containerData | Container data passed as a byte array |
public ContainerData(byte[] containerData, String encoding) throws UnsupportedEncodingException
containerData | Container data passed as a byte array |
encoding | Character encoding for the container data |
public ContainerData(String containerData, String encoding) throws UnsupportedEncodingException
containerData | Container data passed as a byte array |
encoding | Character set encoding for the container data |
public int getLength()
public void setContainerData(byte[] containerData)
containerData | The container data as a byte array |
public byte[] getContainerData()
public byte[] getContainerDataAsAscii() throws UnsupportedEncodingException
public void printContainerDataAsByteArray()
Print the container data as a byte array
public void printContainerDataAsString()
Print the container data as a string
public boolean equals(Object obj)
public int hashCode()