public int getIndex ( String headerName ) throws IOException { checkClosed ( ) ; Object indexValue = headersHolder . IndexByName . get ( headerName ) ; if ( indexValue != null ) { return ( ( Integer ) indexValue ) . intValue ( ) ; } else { return - 1 ; } }
Gets the corresponding column index for a given column header name .