com.ibm.jzos.recordgen.asm
Class ADataRecordReader

java.lang.Object
  extended by com.ibm.jzos.recordgen.asm.ADataRecordReader

public class ADataRecordReader
extends java.lang.Object

A class that reads ADataRecord (or subtype instances) from a ZFile containing a SYSADATA file.

See Also:
ZFile, ADataRecord

Constructor Summary
ADataRecordReader(ZFile zfile)
          Construct an instance on a ZFile
 
Method Summary
 ADataRecord readRecord()
          Reads the next ADataRecord.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADataRecordReader

public ADataRecordReader(ZFile zfile)
Construct an instance on a ZFile

Parameters:
zfile - the underlying ZFile containing the SYSADATA dataset
Method Detail

readRecord

public ADataRecord readRecord()
                       throws java.io.IOException
Reads the next ADataRecord. If the record is continued, multiple records are assembled together into a single record.

Returns:
ADataRecord or null if the end of the file is reached
Throws:
java.io.IOException