org.omnaest.utils.download
Class URIHelper
java.lang.Object
org.omnaest.utils.download.URIHelper
public class URIHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URIHelper
public URIHelper()
createURI
public static URI createURI(String scheme,
String host,
String path,
String query)
- Creates a new uri instance with the given parameters.
- Parameters:
scheme - host - path - query -
- Returns:
- See Also:
URI#URI(String, String, String, String, String))
getURLfromURI
public static URL getURLfromURI(URI uri)
- Returns an url for a given uri if possible. Otherwise null is returned.
- Parameters:
uri -
- Returns:
Copyright © 2011. All Rights Reserved.