Class UrlSet
java.lang.Object
org.apache.xbean.finder.UrlSet
-
Constructor Summary
ConstructorsConstructorDescriptionUrlSet(ClassLoader classLoader) UrlSet(Collection<URL> urls) Ignores all URLs that are not "jar" or "file" -
Method Summary
Modifier and TypeMethodDescriptionexclude(ClassLoader parent) Calls excludePaths(System.getProperty("java.endorsed.dirs"))Calls excludePaths(System.getProperty("java.ext.dirs"))excludePaths(String pathString) getUrls()booleanisOsx()iterator()intsize()toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
UrlSet
- Throws:
IOException
-
UrlSet
-
UrlSet
Ignores all URLs that are not "jar" or "file"- Parameters:
urls-
-
-
Method Details
-
include
-
include
-
exclude
-
exclude
-
exclude
- Throws:
IOException
-
exclude
- Throws:
MalformedURLException
-
exclude
- Throws:
MalformedURLException
-
excludeJavaExtDirs
Calls excludePaths(System.getProperty("java.ext.dirs"))- Returns:
- Throws:
MalformedURLException
-
excludeJavaEndorsedDirs
Calls excludePaths(System.getProperty("java.endorsed.dirs"))- Returns:
- Throws:
MalformedURLException
-
excludeJavaHome
- Throws:
MalformedURLException
-
excludeJvm
- Throws:
MalformedURLException
-
excludePaths
- Throws:
MalformedURLException
-
filter
-
matching
-
relative
- Throws:
MalformedURLException
-
getUrls
-
size
-
iterator
-
toString
-
isOsx
-