public interface FileReaderPattern
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fetchHeader()
This method can be optionally invoked from the process step
to obtain the header data that was previously obtained during the processHeader
call
|
java.lang.Object |
fetchRecord(java.io.BufferedReader reader)
This method should read the next line from the reader
and return the data in suitable form to be processed
by the step.
|
void |
initialize(java.util.Properties props)
Invoked during the step setup phase
|
void |
processHeader(java.io.BufferedReader reader)
This method is invoked only once.
|
void initialize(java.util.Properties props)
props
- void processHeader(java.io.BufferedReader reader) throws java.io.IOException
reader
- java.io.IOException
java.lang.Object fetchRecord(java.io.BufferedReader reader) throws java.io.IOException
reader
- java.io.IOException
java.lang.Object fetchHeader()