Package dataLoad
Class EmployeeLoader
- java.lang.Object
-
- dataLoad.AbstractRecordLoader<Employee>
-
- dataLoad.EmployeeLoader
-
public class EmployeeLoader extends AbstractRecordLoader<Employee>
DishLoader
Class responsible for reading the data from an input file that contains information about employees.- Since:
- 2017-07-22
- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description EmployeeLoader()
-
Method Summary
Modifier and Type Method Description intconstructObjectFromRow(java.lang.String[] tokens, java.util.ArrayList<Employee> personnel)Adds a record in the input list given the tokens of a row.-
Methods inherited from class dataLoad.AbstractRecordLoader
load
-
-
-
-
Method Detail
-
constructObjectFromRow
public int constructObjectFromRow(java.lang.String[] tokens, java.util.ArrayList<Employee> personnel)Adds a record in the input list given the tokens of a row.- Specified by:
constructObjectFromRowin classAbstractRecordLoader<Employee>- Parameters:
tokens- : a list of fields from a row of the input filepersonnel- : list which holds the information about the employees- Returns:
- 0
-
-