public class EmployeeLoader extends AbstractRecordLoader<Employee>
Constructor and Description |
---|
EmployeeLoader() |
Modifier and Type | Method and Description |
---|---|
int |
constructObjectFromRow(java.lang.String[] tokens,
java.util.ArrayList<Employee> personnel)
Adds a record in the input list given the tokens of a
row.
|
load
public int constructObjectFromRow(java.lang.String[] tokens, java.util.ArrayList<Employee> personnel)
constructObjectFromRow
in class AbstractRecordLoader<Employee>
tokens:
- a list of fields from a row of the input filepersonnel:
- list which holds the information about the employees