package com.plannaplan.models; import java.util.HashMap; import java.util.Iterator; import org.apache.poi.ss.usermodel.Row; public class FileData { private HashMap keys; private Iterator rows; public FileData(HashMap keys, Iterator rows) { this.keys = keys; this.rows = rows; } public Iterator getRows() { return rows; } public void setRows(Iterator rows) { this.rows = rows; } public HashMap getKeys() { return keys; } public void setKeys(HashMap keys) { this.keys = keys; } public int getIndexOf(String key) { int index = this.keys.get(key); return index; } }