Class URIs


  • public final class URIs
    extends java.lang.Object
    URI-specific utilities.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getUserFromURI​(java.net.URI uri)
      Get the user name information from a URI, if any.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUserFromURI

        public static java.lang.String getUserFromURI​(java.net.URI uri)
        Get the user name information from a URI, if any.
        Parameters:
        uri - the URI
        Returns:
        the user name, or null if the URI did not contain a recoverable user name