@ Pure public int getDBFFieldIndex ( String name ) { assert name != null ; if ( this . fieldCount != - 1 ) { try { int i = 0 ; for ( final DBaseFileField field : this . fields ) { if ( field != null && name . equals ( field . getName ( ) ) ) { return i ; } ++ i ; } } catch ( Exception exception ) { // } } return - 1 ; }
Replies the column index of the specified column name .