org.apache.xbean.finder
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.IOException
public 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.IOException
public UrlSet exclude(java.io.File file) throws java.net.MalformedURLException
java.net.MalformedURLException
public UrlSet exclude(java.lang.String pattern) throws java.net.MalformedURLException
java.net.MalformedURLException
public UrlSet excludeJavaExtDirs() throws java.net.MalformedURLException
java.net.MalformedURLException
public UrlSet excludeJavaEndorsedDirs() throws java.net.MalformedURLException
java.net.MalformedURLException
public UrlSet excludeJavaHome() throws java.net.MalformedURLException
java.net.MalformedURLException
public UrlSet excludePaths(java.lang.String pathString) throws java.net.MalformedURLException
java.net.MalformedURLException
public UrlSet relative(java.io.File file) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.util.List<java.net.URL> getUrls()
Copyright © 2005-2016. All Rights Reserved.