Package org.apache.xbean.finder
Class UrlSet
java.lang.Object
org.apache.xbean.finder.UrlSet
- Version:
- $Rev$ $Date$
-
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()
boolean
isOsx()
iterator()
int
size()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.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
public int size() -
iterator
-
toString
-
isOsx
public boolean isOsx()
-