public class UrlSet extends java.lang.Object
| Constructor and Description |
|---|
UrlSet(java.lang.ClassLoader classLoader) |
UrlSet(java.util.Collection<java.net.URL> urls)
Ignores all URLs that are not "jar" or "file"
|
UrlSet(java.net.URL... urls) |
| Modifier and Type | Method and Description |
|---|---|
UrlSet |
exclude(java.lang.ClassLoader parent) |
UrlSet |
exclude(java.io.File file) |
UrlSet |
exclude(java.lang.String pattern) |
UrlSet |
exclude(UrlSet urlSet) |
UrlSet |
excludeJavaEndorsedDirs()
Calls excludePaths(System.getProperty("java.endorsed.dirs"))
|
UrlSet |
excludeJavaExtDirs()
Calls excludePaths(System.getProperty("java.ext.dirs"))
|
UrlSet |
excludeJavaHome() |
UrlSet |
excludePaths(java.lang.String pathString) |
java.util.List<java.net.URL> |
getUrls() |
UrlSet |
include(UrlSet urlSet) |
UrlSet |
matching(java.lang.String pattern) |
UrlSet |
relative(java.io.File file) |
public UrlSet(java.lang.ClassLoader classLoader) throws java.io.IOException
java.io.IOExceptionpublic UrlSet(java.net.URL... urls)
public UrlSet(java.util.Collection<java.net.URL> urls)
urls - public UrlSet exclude(java.lang.ClassLoader parent) throws java.io.IOException
java.io.IOExceptionpublic UrlSet exclude(java.io.File file) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic UrlSet exclude(java.lang.String pattern) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic UrlSet excludeJavaExtDirs() throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic UrlSet excludeJavaEndorsedDirs() throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic UrlSet excludeJavaHome() throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic UrlSet excludePaths(java.lang.String pathString) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic UrlSet relative(java.io.File file) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.util.List<java.net.URL> getUrls()
Copyright © 2005-2012. All Rights Reserved.