Class ResourceMap
java.lang.Object
org.apache.directory.api.ldap.schema.extractor.impl.ResourceMap
Lists LDIF resources available from the classpath.
- Author:
- Apache Directory Project
-
Method Summary
Modifier and TypeMethodDescriptiongetResources(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 Details
-
getResources
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
-