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