|
|||||||||||
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.WriterRecord
WriterRecord provides the methods to write the values of the fields into the record. This record will be created from and submitted to write into the file for the FileWriter's.
Constructor Summary | |
protected |
WriterRecord(RecordType recordType)
Creates a new instance of WriterRecord by accepting the type of record. |
Method Summary | |
abstract void |
writeField(java.lang.String fieldName,
java.lang.Object fieldValue)
Writes the given field name and value into 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 WriterRecord(RecordType recordType)
recordType
- Type of the record.Method Detail |
public abstract void writeField(java.lang.String fieldName, java.lang.Object fieldValue)
Writes the given field name and value into the record. The value will be depends on the type of file. Concrete implementors provide the details on the kind of the object should be written for different fields and what the field name corresponds to.
fieldName
- Name of the field.fieldValue
- Value corresponding the field name.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |