|
OSMQ v2.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectosmq.util.FixedLengthRecord
Creates a Message or DataRecord from a string that represents a COBOL data record in display format.
Processes COMP-3 (implied decimal) display format.
Field Summary | |
static char |
DECIMAL
|
static char |
INTEGER
|
static char |
TEXT
|
Constructor Summary | |
FixedLengthRecord()
|
|
FixedLengthRecord(java.lang.String s)
|
Method Summary | |
int |
getFieldsRead()
|
java.lang.String |
getImpliedDecimalString(int size,
int decimals)
Trims leading spaces from the resulting string. |
java.lang.String |
getIntegerString(int size)
Trims leading spaces from the resulting string. |
java.lang.String |
getRecordValue()
|
java.lang.String |
getText(int size)
|
java.lang.String |
getXMLImpliedDecimalString(int size,
int decimals)
Trims leading spaces from the resulting string. |
java.lang.String |
parse(char type,
int size,
int decimals)
Returns the next field based ont the parameter descriptor |
void |
positionAtFirstField()
|
void |
setRecordValue(java.lang.String s)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final char DECIMAL
public static final char INTEGER
public static final char TEXT
Constructor Detail |
public FixedLengthRecord()
public FixedLengthRecord(java.lang.String s)
Method Detail |
public final void positionAtFirstField()
public final int getFieldsRead()
public final void setRecordValue(java.lang.String s)
public final java.lang.String getRecordValue()
public final java.lang.String getImpliedDecimalString(int size, int decimals)
public final java.lang.String getXMLImpliedDecimalString(int size, int decimals)
public final java.lang.String getIntegerString(int size)
public java.lang.String parse(char type, int size, int decimals)
public final java.lang.String getText(int size)
|
(c) 2000 - 2003 MQue Systems All Rights Reserved |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |