|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--HeaderData
Storage structure for the header data describing the contents of a file.
Constructor Summary | |
HeaderData()
Creates and initializes the header object |
Method Summary | |
void |
display()
Used for testing only. |
int |
getC4321()
Gets the constant value |
int |
getFileID()
Gets the file ID |
java.lang.String |
getHeaderID()
Gets the header ID |
int |
getPassNo()
Gets the image pass number |
int |
getRecCnt()
Gets the total number of records contained in the file |
int |
getRecLen()
Gets the length of one record in bytes |
int |
getStructVer()
Gets the structure version of the file type |
java.lang.String |
getTapeDate()
Gets the tape date |
java.lang.String |
getTapeTime()
Gets the tape time |
void |
setHeaderValues(java.lang.String id,
int c,
int pass,
int file,
int len,
int ver,
int cnt,
java.lang.String date,
java.lang.String time)
Set the fields of the HdrData object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HeaderData()
Method Detail |
public void setHeaderValues(java.lang.String id, int c, int pass, int file, int len, int ver, int cnt, java.lang.String date, java.lang.String time)
id
- the header idc
- a constant valuepass
- the image pass numberfile
- the file IDlen
- the length of a single recordver
- the structure version of the file typecnt
- the number of records in the filedate
- the tape datetime
- the tape timepublic void display()
public java.lang.String getHeaderID()
public int getC4321()
public int getPassNo()
public int getFileID()
public int getRecLen()
public int getStructVer()
public int getRecCnt()
public java.lang.String getTapeDate()
public java.lang.String getTapeTime()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |