legacy/src/main/java/thredds/catalog/InvDataset.java
public InvAccess findAccess(String accessURL) {
    for (InvAccess a : getAccess()) {
      if (accessURL.equals(a.getStandardUrlName()))
        return a;
    }
    return null;
  }
public InvAccess findAccess(String accessURL) {
    for (InvAccess a : getAccess()) {
      if (accessURL.equals(a.getStandardUrlName()))
        return a;
    }
    return null;
  }
public InvAccess findAccess ( String accessURL ) { for ( InvAccess a : getAccess ( ) ) { if ( accessURL . equals ( a . getStandardUrlName ( ) ) ) return a ; } return null ; }
Get access element that matches the given access standard URL.
Match on a.getStandardUrlName().

@param accessURL find theis access URL string
@return InvAccess or null if no match.
Get access element that matches the given access standard URL . Match on a . getStandardUrlName () .