public final class PathUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
canonicalize(String path)
Canonicalize the given path.
|
static <T extends Collection<? super String>> |
filterPaths(Iterable<String> source,
PathFilter filter,
T target)
Filter the paths from
source into target using filter. |
static Set<String> |
getPathSet(ClassLoader classLoader)
Attempt to get a set of all paths defined directly by the given class loader.
|
public static <T extends Collection<? super String>> T filterPaths(Iterable<String> source, PathFilter filter, T target)
source into target using filter.T - the collection typesource - the source pathsfilter - the filter to applytarget - the destination for filtered pathstarget setpublic static Set<String> getPathSet(ClassLoader classLoader)
null is returned.classLoader - the class loader to inspectnull if the paths could not be determinedCopyright © 2013 JBoss by Red Hat. All Rights Reserved.