|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.utils.URLUtils
public class URLUtils
Provides URL manipulations and functionality.
| Constructor Summary | |
|---|---|
URLUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
buildUrl(java.lang.String context,
java.lang.String... relocations)
Use URL context and one or more relocations to build end URL. |
static java.lang.String |
resourceMd5Digest(java.lang.String url)
Gets a MD5 digest of some resource obtains as input stream from connection to URL given by URL string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLUtils()
| Method Detail |
|---|
public static java.lang.String buildUrl(java.lang.String context,
java.lang.String... relocations)
throws java.net.MalformedURLException
context - first URL used like a context root for all relocation changesrelocations - array of relocation URLs
java.net.MalformedURLException - when context or some of relocations are malformed
public static java.lang.String resourceMd5Digest(java.lang.String url)
throws java.io.IOException
url - of the resource
java.io.IOException - when connection to URL fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||