|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.semanticdesktop.aperture.util.UrlUtil
public class UrlUtil
Offers utility methods related to URLs, network connections, etc.
Constructor Summary | |
---|---|
UrlUtil()
|
Method Summary | |
---|---|
static String |
normalizePath(String path)
Remove relative references and "mistakes" like double slashes from the path. |
static String |
normalizeQuery(String query)
Normalizes a query string by sorting the query parameters alpabetically. |
static URL |
normalizeURL(URL url)
Normalizes a URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlUtil()
Method Detail |
---|
public static URL normalizeURL(URL url)
public static String normalizePath(String path)
path
- The path to normalize.
public static String normalizeQuery(String query)
query
- The query string to normalize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |