| 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 |
excludeJvm() |
UrlSet |
excludePaths(String pathString) |
UrlSet |
filter(Filter filter) |
List<URL> |
getUrls() |
UrlSet |
include(URL url) |
UrlSet |
include(UrlSet urlSet) |
boolean |
isOsx() |
Iterator<URL> |
iterator() |
UrlSet |
matching(String pattern) |
UrlSet |
relative(File file) |
int |
size() |
String |
toString() |
public UrlSet(ClassLoader classLoader) throws IOException
IOExceptionpublic UrlSet(URL... urls)
public UrlSet(Collection<URL> urls)
urls - public UrlSet exclude(ClassLoader parent) throws IOException
IOExceptionpublic UrlSet exclude(File file) throws MalformedURLException
MalformedURLExceptionpublic UrlSet exclude(String pattern) throws MalformedURLException
MalformedURLExceptionpublic UrlSet excludeJavaExtDirs() throws MalformedURLException
MalformedURLExceptionpublic UrlSet excludeJavaEndorsedDirs() throws MalformedURLException
MalformedURLExceptionpublic UrlSet excludeJavaHome() throws MalformedURLException
MalformedURLExceptionpublic UrlSet excludeJvm() throws MalformedURLException
MalformedURLExceptionpublic UrlSet excludePaths(String pathString) throws MalformedURLException
MalformedURLExceptionpublic UrlSet relative(File file) throws MalformedURLException
MalformedURLExceptionpublic int size()
public boolean isOsx()
Copyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.