Constructor and Description |
---|
UrlSet(ClassLoader classLoader) |
UrlSet(Collection<URL> urls)
Ignores all URLs that are not "jar" or "file"
|
UrlSet(URL... urls) |
Modifier and Type | Method and Description |
---|---|
UrlSet |
exclude(ClassLoader parent) |
UrlSet |
exclude(File file) |
UrlSet |
exclude(String pattern) |
UrlSet |
exclude(URL url) |
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(String pathString) |
UrlSet |
filter(Filter filter) |
List<URL> |
getUrls() |
UrlSet |
include(URL url) |
UrlSet |
include(UrlSet urlSet) |
Iterator<URL> |
iterator() |
UrlSet |
matching(String pattern) |
UrlSet |
relative(File file) |
int |
size() |
String |
toString() |
public UrlSet(ClassLoader classLoader) throws IOException
IOException
public UrlSet(URL... urls)
public UrlSet(Collection<URL> urls)
urls
- public UrlSet exclude(ClassLoader parent) throws IOException
IOException
public UrlSet exclude(File file) throws MalformedURLException
MalformedURLException
public UrlSet exclude(String pattern) throws MalformedURLException
MalformedURLException
public UrlSet excludeJavaExtDirs() throws MalformedURLException
MalformedURLException
public UrlSet excludeJavaEndorsedDirs() throws MalformedURLException
MalformedURLException
public UrlSet excludeJavaHome() throws MalformedURLException
MalformedURLException
public UrlSet excludePaths(String pathString) throws MalformedURLException
MalformedURLException
public UrlSet relative(File file) throws MalformedURLException
MalformedURLException
public int size()
Copyright © 2005-2017. All Rights Reserved.