private void setScheme ( String p_scheme ) throws MalformedURIException { if ( p_scheme == null ) { throw new MalformedURIException ( "Cannot set scheme from null string!" ) ; } if ( ! isConformantSchemeName ( p_scheme ) ) { throw new MalformedURIException ( "The scheme is not conformant." ) ; } m_scheme = p_scheme ; //.toLowerCase(); }
Set the scheme for this URI . The scheme is converted to lowercase before it is set .