code: public String getName() throws URIException {
          char[] basename = getRawName();
          return (basename == null) ? null : decode(getRawName(),
                  getProtocolCharset());
      }
docs: Get the basename of the path.
  
  @return the basename string
  @throws URIException incomplete trailing escape pattern or unsupported
  character encoding
  @see #decode