@ Override public Integer getColumnIndex ( String name ) { if ( null == header ) { throw new IllegalStateException ( "The header row hasn't been read yet." ) ; } createIndexLookup ( header ) ; return indexLookup . get ( name ) ; }
Gets the column index that corresponds to a specific colum name . If the CSV file doesn t have a header row this method will always return null .