parse
T parse(com.google.gwt.core.client.JsArrayString row,
int index)
An accessor function may invoked for each row in a DSV file, being passed
the current row and index as two arguments. The return value of the
function replaces the element in the returned array of rows; if the
function returns null, the row is stripped from the returned array of
rows. In effect, the accessor is similar to applying a map and filter
operator to the returned rows. The accessor function is used by parse to
convert each row to an object with named attributes.
- Parameters:
row
- the current row as an arrayindex
- the index of the current row
- Returns: