static short |
COMM_AREA_SIZE
Max COMMAREA size |
static String |
IBM037
IBM037 (EBCDIC) |
static String |
IBM1047
IBM1047 (EBCDIC) |
static String | ISO_8859_1
ISO-8859-1 |
static short | NO_COMM_AREA_BYTES
Constant value to indicate commArea has not been set or commArea size is 0 (empty byteArray). |
CommArea() |
Construct a CommArea class |
CommArea(byte[] commArea) |
Construct a CommArea class |
CommArea(byte[] commArea, String encoding) |
Construct a CommArea class |
CommArea(CommArea that) |
Construct a CommArea class |
CommArea(String commArea) |
Construct a CommArea class |
CommArea(String commArea, String encoding) |
Construct a CommArea class |
Method Summary | |
---|---|
boolean | equals(Object obj) |
byte[] | getCommArea() |
byte[] | getCommAreaAsAscii() |
short | getLength() |
int | hashCode() |
void | printCommAreaAsByteArray()
Print the commArea as a byteArray |
void | printCommAreaAsString()
Print the commArea as a String |
void | setCommArea(byte[] commArea) |
public static final short COMM_AREA_SIZE
Max COMMAREA size
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 static final short NO_COMM_AREA_BYTES
Constant value to indicate commArea has not been set or commArea size is 0 (empty byteArray).
public CommArea()
Construct a CommArea class
public CommArea(byte[] commArea) throws CommAreaSizeException
Construct a CommArea class
public CommArea(byte[] commArea), String encoding) throws CommAreaSizeException, UnsupportedEncodingException
CommArea(CommArea that)
public CommArea(String commArea) throws CommAreaSizeException, UnsupportedEncodingException
CommArea(String commArea, String encoding) throws UnsupportedEncodingException, CommAreaSizeException
public byte[] getCommArea()
public byte[] getCommAreaAsAscii()
throws UnsupportedEncodingException
public short getLength()
public void printCommAreaAsByteArray()
Print the commArea as a byteArray
public void printCommAreaAsString()
Print the commArea as a String
public void setCommArea(byte[] commArea) throws CommAreaSizeException
public boolean equals(Object obj)
public int hashCode()