Class ResourceMap
- java.lang.Object
-
- org.apache.directory.api.ldap.schema.extractor.impl.ResourceMap
-
public final class ResourceMap extends Object
Lists LDIF resources available from the classpath.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Boolean>
getResources(Pattern pattern)
For all elements of java.class.path OR from the resource name set in the system property 'schema.resource.location' get a Map of resources Pattern pattern = Pattern.compile(".*").
-
-
-
Method Detail
-
getResources
public static Map<String,Boolean> getResources(Pattern pattern)
For all elements of java.class.path OR from the resource name set in the system property 'schema.resource.location' get a Map of resources Pattern pattern = Pattern.compile(".*"). The keys represent resource names and the boolean parameter indicates whether or not the resource is in a Jar file.- Parameters:
pattern
- the pattern to match- Returns:
- the resources with markers - true if resource is in Jar
-
-