|
iso8211 0-1-0 by Weft | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--uk.co.weft.iso8211.Leader
The leader of an ISO 8211 record. Based heavily on Leader in iso8211.py
$Log: Leader.java,v $ Revision 1.2 2002/11/02 00:09:16 simon Promising, but still not there. Problems include not correctly finding the start of the next record. Revision 1.1.1.1 2002/10/29 11:27:33 simon More or less parses
| Field Summary | |
protected int |
appIndicator
the application indicator (DDR only) TODO: should this be boolean? |
protected int |
baseAddress
offset (?) to the start of fields |
protected int |
extendedCharSet
the extended character set indicator (DDR only) TODO: should this be boolean? |
protected int |
fieldControlLength
the field control length (?) (DDR only) |
protected int |
fieldLengthSz
The size of the length of each field |
protected int |
fieldPositionSz
The size of the position of each field |
protected int |
fieldTagSz
The size of the tag of each field |
protected int |
id
my leader ID -- effectively the record type. |
protected int |
inlineCodeExt
the inline code extension indicator. |
protected int |
interchangeLevel
the 'interchange level' (DDR only) |
protected int |
length
the length of the record in which I occur |
protected long |
position
the position at which I was found in the input stream |
protected int |
version
the ISO8211 version `number' (DDR only) |
| Constructor Summary | |
Leader(ISO8211InputStream in,
Record record,
Record ddr,
boolean debug)
create and return a Leader object by reading from the current point in this stream |
|
| Method Summary | |
protected void |
interpretHeader()
assuming I'm not a DDR record, interpret my raw header |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected long position
protected int length
protected int id
protected int baseAddress
protected int fieldLengthSz
protected int fieldPositionSz
protected int fieldTagSz
protected int interchangeLevel
protected int inlineCodeExt
protected int version
protected int appIndicator
protected int fieldControlLength
protected int extendedCharSet
| Constructor Detail |
public Leader(ISO8211InputStream in,
Record record,
Record ddr,
boolean debug)
throws FormatException
in - the stream to read me fromrecord - the record of which I form partddr - the data description record for this filedebug - whether or not I'm in debug mode| Method Detail |
protected void interpretHeader()
throws java.lang.Exception
|
iso8211 0-1-0 by Weft | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||