visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java
public DMFileHeaderInfo findFileHeader(String name) {
    if ((fileHeaderInfo == null) || fileHeaderInfo.isEmpty()) {
      return null;
    }
    for (DMFileHeaderInfo fhi : fileHeaderInfo) {
      if (name.equals(fhi.kfhnam)) {
        return fhi;
      }
    }
    return null;
  }
public DMFileHeaderInfo findFileHeader(String name) {
    if ((fileHeaderInfo == null) || fileHeaderInfo.isEmpty()) {
      return null;
    }
    for (DMFileHeaderInfo fhi : fileHeaderInfo) {
      if (name.equals(fhi.kfhnam)) {
        return fhi;
      }
    }
    return null;
  }
public DMFileHeaderInfo findFileHeader ( String name ) { if ( ( fileHeaderInfo == null ) || fileHeaderInfo . isEmpty ( ) ) { return null ; } for ( DMFileHeaderInfo fhi : fileHeaderInfo ) { if ( name . equals ( fhi . kfhnam ) ) { return fhi ; } } return null ; }
Find the file header with this name

@param name name of header
@return headerinfo or null if not found
Find the file header with this name