ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java
public DbaseData getField(String Name) {
    for (int i = 0; i < nfields; i++) {
      if (FieldDesc[i].Name.equals(Name)) return data[i];
    }
    return null;
  }
public DbaseData getField(String Name) {
    for (int i = 0; i < nfields; i++) {
      if (FieldDesc[i].Name.equals(Name)) return data[i];
    }
    return null;
  }
public DbaseData getField ( String Name ) { for ( int i = 0 ; i < nfields ; i ++ ) { if ( FieldDesc [ i ] . Name . equals ( Name ) ) return data [ i ] ; } return null ; }
Extract the data for a given field by name.

@param Name String with the name of the field to retrieve.
@return A DbaseData object if the name was found or null if not found
Extract the data for a given field by name .