|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.download.URIHelper
public class URIHelper
| Constructor Summary | |
|---|---|
URIHelper()
|
|
| Method Summary | |
|---|---|
static URI |
createUri(String location)
Creates a new URI based on the given location |
static URI |
createURI(String scheme,
String host,
String path,
String... queryParameters)
Creates a new uri instance with the given parameters. |
static URI |
createUri(URI baseAddress,
String relativePath)
Creates a new Uri which is based on the given base address and a relative path |
static URL |
getURLfromURI(URI uri)
Returns an url for a given uri if possible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIHelper()
| Method Detail |
|---|
public static URI createURI(String scheme,
String host,
String path,
String... queryParameters)
scheme - : e.g. "http"host - : e.g. "www.google.de"path - : e.g. "search/subsearch"queryParameters - : e.g. "key1=value1", "key2=value2"
URIURI#URI(String, String, String, String, String))public static URI createUri(String location)
URI based on the given location
location -
public static URI createUri(URI baseAddress,
String relativePath)
Uri which is based on the given base address and a relative path
baseAddress - relativePath -
public static URL getURLfromURI(URI uri)
uri -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||