code: public static String getName(final String path) {
  
  		String cleanedPath = clean(path);
  
  		if (cleanedPath != null && cleanedPath.contains(PATH_SEP)) {
  
  			return StringUtils.substringAfterLast(cleanedPath, PATH_SEP);
  
  		} else {
  
  			return cleanedPath;
  
  		}
  	}
docs: Return last part of the given path after separator or the path if no path separator was found.
  
  @param path
  @return name