src/main/java/org/jboss/util/Strings.java
/**
    * 
    * @param urispec
    * @return the uri
    * @throws URISyntaxException for any error
    */
@param urispec
@return the uri
@throws URISyntaxException for any error
@param urispec @return the uri @throws URISyntaxException for any error
public static URI toURI(final String urispec)
      throws URISyntaxException
   {
      return toURI(urispec, null);
   }
public static URI toURI ( final String urispec ) throws URISyntaxException { return toURI ( urispec , null ) ; }
@param urispec
 @return the uri
 @throws URISyntaxException for any error
@param urispec @return the uri @throws URISyntaxException for any error