cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java
static private ServiceType searchPath(String url) {
      if(false) { // Disable for now
      if(url == null || url.length() == 0)
        return null;
      url = url.toLowerCase(); // for matching purposes
      for(int i=0; i<FRAGPROTOCOLS.length;i++) {
        String p = FRAGPROTOCOLS[i];
        if(url.indexOf("/thredds/"+p.toLowerCase()+"/")>= 0) {
          return FRAGPROTOSVCTYPE[i];
        }
      }
      }
      return null;
    }
static private ServiceType searchPath(String url) {
      if(false) { // Disable for now
      if(url == null || url.length() == 0)
        return null;
      url = url.toLowerCase(); // for matching purposes
      for(int i=0; i<FRAGPROTOCOLS.length;i++) {
        String p = FRAGPROTOCOLS[i];
        if(url.indexOf("/thredds/"+p.toLowerCase()+"/")>= 0) {
          return FRAGPROTOSVCTYPE[i];
        }
      }
      }
      return null;
    }
Given a url, search the path to look for protocol indicators

@param url the url is to be examined
@return The discovered ServiceType, or null