code: public static String getPathName(String path) {
  
  		String pathName = null;
  		if (StringUtils.isEmpty(path)) {
  			pathName = "";
  		} else {
  			pathName = path;
  			if (pathName.length() > 1 && pathName.endsWith(JawrConstant.URL_SEPARATOR)) {
  				pathName = pathName.substring(0, pathName.length() - 1);
  			}
  			int index = pathName.lastIndexOf(JawrConstant.URL_SEPARATOR);
  			if (index > 0) {
  				pathName = pathName.substring(index + 1);
  			} else {
  				pathName = JawrConstant.URL_SEPARATOR;
  			}
  		}
  
  		return pathName;
  	}
docs: Determines the filename of a path.
  
  <pre>
  PathNormalizer.getPathName( null )                           = ""
  PathNormalizer.getPathName( "" )                             = ""
  PathNormalizer.getPathName( "/" )                            = "/"
  PathNormalizer.getPathName( "/usr/local/" )                  = "local"
  PathNormalizer.getPathName( "/usr/local/bin/java.sh" )     = "java.sh"
  </pre>
  
  @param path
  the path
  @return the path name.