|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ir.webutils.URLChecker
public final class URLChecker
URLChecker tries to clean up some URLs that do not conform to the standard and cause confusion. Valid URLs are returned unchanged. The idea behind this class is to fix some common problems (like leaving spaces in URLs) with simple heuristics.
Method Summary | |
---|---|
static java.net.URL |
getURL(java.lang.String urlString)
Returns a URL for the given string after correcting simple errors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.net.URL getURL(java.lang.String urlString) throws java.net.MalformedURLException
java.net.MalformedURLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |