public String getName() {
    String loc = ncd.getLocation();
    int pos = loc.lastIndexOf('/');
    if (pos < 0)
      pos = loc.lastIndexOf('\\');
    return (pos < 0) ? loc : loc.substring(pos + 1);
  }
public String getName() {
    String loc = ncd.getLocation();
    int pos = loc.lastIndexOf('/');
    if (pos < 0)
      pos = loc.lastIndexOf('\\');
    return (pos < 0) ? loc : loc.substring(pos + 1);
  }
public String getName ( ) { String loc = ncd . getLocation ( ) ; int pos = loc . lastIndexOf ( ' ' ) ; if ( pos < 0 ) pos = loc . lastIndexOf ( ' ' ) ; return ( pos < 0 ) ? loc : loc . substring ( pos + 1 ) ; }
the name of the dataset is the last part of the location

@return the name of the dataset
the name of the dataset is the last part of the location