|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.a2zss.ISO8583.ISOField
public class ISOField
This class creates a ISOField object for use with other ISO 8583 classes in this package The application can use this object for ISO message creation
Message,
ISO8583II,
Serialized Form| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ISOField()
Creates an empty ISOField object with no data |
|
ISOField(int bit,
byte[] buf,
Config c)
Creates an ISOField object with specified bitno and data buffer (version 0) |
|
ISOField(int bit,
byte[] buf,
int v,
Config c)
Creates an ISOField object with specified bitno and data buffer and ISO8583 version |
|
ISOField(int bit,
byte[] buf,
int offs,
int len,
Config c)
Creates an ISOField object with specified bitno and data buffer (version 0) |
|
ISOField(int bit,
byte[] buf,
int offs,
int len,
int v,
Config c)
Creates an ISOField object with specified bitno and data buffer |
|
ISOField(int bit,
java.lang.String value,
Config c)
Creates an ISOField object with specified bitno and String value (version 0) |
|
ISOField(int bit,
java.lang.String value,
int v,
Config c)
Creates an ISOField object with specified bitno and String value and ISO8583 version |
|
ISOField(ISOField fiel)
Creates a new ISOField object independent copy/clone from current object |
|
| Method Summary | |
|---|---|
byte[] |
getBinaryValue()
|
byte[] |
getBinLenPackedValue()
Method getBinLenPackedValue |
int |
getBitNo()
Method getBitNo |
int |
getLength()
|
long |
getLongValue()
|
int |
getMaxLength()
|
byte[] |
getPackedValue()
|
byte[] |
getPlainValue()
|
byte[] |
getPlainValue(boolean ebcdic)
|
java.lang.String |
getStringValue()
|
int |
getType()
Gets the ISO8583 field type of this ISOField object |
int |
getVersion()
Gets the ISO8583 version info of this ISOField object |
void |
setValue(byte[] b)
Sets the byte value of ISOFieled object |
void |
setValue(java.lang.String value)
Sets the String value of ISOField object |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ISOField()
public ISOField(int bit,
byte[] buf,
Config c)
bit - indicates the ISO8583 field numberbuf - the data for this fieldc - - the config
public ISOField(int bit,
byte[] buf,
int v,
Config c)
bit - indicates the ISO8583 field numberbuf - the data for this fieldv - ISO8583 version 0 or 1c - - the config
public ISOField(int bit,
byte[] buf,
int offs,
int len,
Config c)
bit - indicates the ISO8583 field numberbuf - the data for this fieldoffs - the offset to startlen - the data lengthc - - the config
public ISOField(int bit,
byte[] buf,
int offs,
int len,
int v,
Config c)
bit - indicates the ISO8583 field numberbuf - the data for this fieldoffs - the offset to startlen - the data lengthv - ISO8583 version 0 or 1c - - the config
public ISOField(int bit,
java.lang.String value,
Config c)
c - - the configbit - indicates the ISO8583 field numbervalue -
public ISOField(int bit,
java.lang.String value,
int v,
Config c)
bit - indicates the ISO8583 field numbervalue - the data for this fieldv - ISO8583 version 0 or 1c - - the configpublic ISOField(ISOField fiel)
fiel - - the field to clone| Method Detail |
|---|
public void setValue(java.lang.String value)
value - - the valuepublic void setValue(byte[] b)
b - - the binary valuepublic final int getVersion()
public final int getType()
public final int getBitNo()
public final int getMaxLength()
public final int getLength()
public final byte[] getPackedValue()
public final byte[] getBinLenPackedValue()
public final byte[] getPlainValue()
public final byte[] getPlainValue(boolean ebcdic)
public final java.lang.String getStringValue()
public final byte[] getBinaryValue()
public final long getLongValue()
public java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||