|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmonks.batch.io.Record
org.jmonks.batch.io.ReaderRecord
ReaderRecord provides the methods to read the values of the fields from a record. This record will be generated from the FileReader's.
Constructor Summary | |
protected |
ReaderRecord(RecordType recordType)
Constructs the ReaderRecord by accepting the record type. |
Method Summary | |
abstract java.lang.Object |
readField(java.lang.String fieldName)
Reads the value of the given field from the record. |
Methods inherited from class org.jmonks.batch.io.Record |
getRecordType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ReaderRecord(RecordType recordType)
recordType
- Type of the record.Method Detail |
public abstract java.lang.Object readField(java.lang.String fieldName)
Reads the value of the given field from the record. The value will be depends on the type of file. Concrete implementors provide the details on the kind of the object they return for different fields and what the field name corresponds to.
fieldName
- Name of the field.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |