|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--URLFixer
Helper class that is used to resolve relative url's, given a parent context url
| Constructor Summary | |
URLFixer()
|
|
| Method Summary | |
static java.net.URL |
fix(java.net.URL parent,
java.lang.String linkCandidate)
Function takes the parent level URL and the linkCandidate and attempts to resolve any relative linkage. |
private static java.lang.String[] |
getDirectoryAndFile(java.lang.String urlString)
Function takes the non-host part of the string and returns the directory structure only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public URLFixer()
| Method Detail |
private static java.lang.String[] getDirectoryAndFile(java.lang.String urlString)
public static java.net.URL fix(java.net.URL parent,
java.lang.String linkCandidate)
throws java.net.MalformedURLException
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||