org.apache.directory.shared.ldap.schema.ldif.extractor.impl
Class ResourceMap
java.lang.Object
org.apache.directory.shared.ldap.schema.ldif.extractor.impl.ResourceMap
public class ResourceMap
- extends Object
Lists LDIF resources available from the classpath.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceMap
public ResourceMap()
getResources
public static Map<String,Boolean> getResources(Pattern pattern)
- For all elements of java.class.path 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
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.