|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.openexchange.admin.rmi.utils.URIParser
public final class URIParser
| Method Summary | |
|---|---|
static boolean |
isValid(java.lang.String input)
Checks if specified input is a valid URI. |
static java.net.URI |
parse(java.lang.String input,
URIDefaults defaults)
Parses specified URL string. |
static java.net.URI |
sanitize(java.lang.String input,
URIDefaults defaults)
Tries to sanitize specified broken URI string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.net.URI parse(java.lang.String input,
URIDefaults defaults)
throws java.net.URISyntaxException
input - The URL stringdefaults - The defaults for parsing or URIDefaults.NULL for no defaults
java.net.URISyntaxException - If parsing failspublic static boolean isValid(java.lang.String input)
input - The input to check
true if specified input is a valid URI; otherwise false
public static java.net.URI sanitize(java.lang.String input,
URIDefaults defaults)
input - The broken URI stringdefaults - The defaults for parsing
null if not able to sanitize
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||