| Modifier and Type | Field and Description |
|---|---|
| private static final char[] | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static URL | |
| public static URL | |
| public static URL | |
| public static URL | |
| public static URL | |
| public static String | |
| public static boolean | Returns: true if a scheme is present, otherwise {code @false}The URI to test uri)Determine if a URI string has a |
| public static boolean | Returns: true if the supplied path starts with once of the recognised sequences.The path to test path)Does the provided path start with |
| private static boolean | Returns: true if a the character is allowed, otherwise falseThe character to test c)Determine if the character is allowed in the scheme of a URI. |
| private static String | |
| public static URI | Returns: The resulting URI as perURI#resolve(String)The base URI to resolve against base, String The path to resolve target)Replicates the behaviour of |
| public static URL |
| HEX | back to summary |
|---|---|
| private static final char[] HEX | |
| PATTERN_ASTERISK | back to summary |
|---|---|
| private static final Pattern PATTERN_ASTERISK | |
| PATTERN_CARET | back to summary |
|---|---|
| private static final Pattern PATTERN_CARET | |
| PATTERN_CUSTOM | back to summary |
|---|---|
| private static final Pattern PATTERN_CUSTOM | |
| PATTERN_EXCLAMATION_MARK | back to summary |
|---|---|
| private static final Pattern PATTERN_EXCLAMATION_MARK | |
| REPLACE_CUSTOM | back to summary |
|---|---|
| private static final String REPLACE_CUSTOM | |
| WAR_SEPARATOR | back to summary |
|---|---|
| private static final String WAR_SEPARATOR | |
| UriUtil | back to summary |
|---|---|
| private UriUtil() | |
| buildJarSafeUrl | back to summary |
|---|---|
| public static URL buildJarSafeUrl(File file) throws MalformedURLException | |
| buildJarUrl | back to summary |
|---|---|
| public static URL buildJarUrl(File jarFile) throws MalformedURLException | |
| buildJarUrl | back to summary |
|---|---|
| public static URL buildJarUrl(File jarFile, String entryPath) throws MalformedURLException | |
| buildJarUrl | back to summary |
|---|---|
| public static URL buildJarUrl(String fileUrlString) throws MalformedURLException | |
| buildJarUrl | back to summary |
|---|---|
| public static URL buildJarUrl(String fileUrlString, String entryPath) throws MalformedURLException | |
| getWarSeparator | back to summary |
|---|---|
| public static String getWarSeparator() | |
| hasScheme | back to summary |
|---|---|
| public static boolean hasScheme(CharSequence uri) Determine if a URI string has a
| |
| isAbsoluteURI | back to summary |
|---|---|
| public static boolean isAbsoluteURI(String path) Does the provided path start with
| |
| isSchemeChar | back to summary |
|---|---|
| private static boolean isSchemeChar(char c) Determine if the character is allowed in the scheme of a URI. See RFC 2396, Section 3.1
| |
| makeSafeForJarUrl | back to summary |
|---|---|
| private static String makeSafeForJarUrl(String input) | |
| resolve | back to summary |
|---|---|
| public static URI resolve(URI base, String target) throws MalformedURLException, URISyntaxException Replicates the behaviour of
| |
| warToJar | back to summary |
|---|---|
| public static URL warToJar(URL warUrl) throws MalformedURLException Convert a URL of the form
| |