public final class UriUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.net.URL |
buildJarSafeUrl(java.io.File file) |
static java.net.URL |
buildJarUrl(java.io.File jarFile) |
static java.net.URL |
buildJarUrl(java.io.File jarFile,
java.lang.String entryPath) |
static java.net.URL |
buildJarUrl(java.lang.String fileUrlString) |
static java.net.URL |
buildJarUrl(java.lang.String fileUrlString,
java.lang.String entryPath) |
static boolean |
hasScheme(java.lang.CharSequence uri)
Determine if a URI string has a
scheme component. |
public static boolean hasScheme(java.lang.CharSequence uri)
scheme component.uri - The URI to testtrue if a scheme is present, otherwise {code @false}public static java.net.URL buildJarUrl(java.io.File jarFile)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic static java.net.URL buildJarUrl(java.io.File jarFile,
java.lang.String entryPath)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic static java.net.URL buildJarUrl(java.lang.String fileUrlString)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic static java.net.URL buildJarUrl(java.lang.String fileUrlString,
java.lang.String entryPath)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic static java.net.URL buildJarSafeUrl(java.io.File file)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.