org.apache.directory.api.ldap.schemaextractor.impl
Class ResourceMap

java.lang.Object
  extended by org.apache.directory.api.ldap.schemaextractor.impl.ResourceMap

public final class ResourceMap
extends Object

Lists LDIF resources available from the classpath.

Author:
Apache Directory Project

Method Summary
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(".*").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.