ubiware.util
Class URITools

java.lang.Object
  extended by ubiware.util.URITools

public class URITools
extends java.lang.Object


Constructor Summary
URITools()
           
 
Method Summary
static java.net.URI createUncheckedURI(java.lang.String uriString)
          Generates a URI if the a URI can be made with the given String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URITools

public URITools()
Method Detail

createUncheckedURI

public static java.net.URI createUncheckedURI(java.lang.String uriString)
Generates a URI if the a URI can be made with the given String representation. Throws an error with message "The String representation for this URI is hard coded and must not be wrong." otherwise. Use this method only to create URI's from Strings which are hard coded and about which the developper is sure that it is a valid URI.

Parameters:
uriString -
Returns:
The URI