Interface SchemeAccessor

    • Method Detail

      • getScheme

        org.refcodes.data.Scheme getScheme​()
        Retrieves the UrlScheme from the URL scheme.
        Returns:
        The UrlScheme stored by the URL scheme.
      • toProtocol

        java.lang.String toProtocol​()
        Retrieves the protocol representation from the Scheme. In case of a scheme unknown by the Scheme enumeration, then getScheme() might return null whilst toProtocol() still retrieves the unknown scheme's protocol representation (as of SchemeAccessor.SchemeMutator.setProtocol(String)).
        Returns:
        The protocol representation for the URL.