org.apache.xbean.finder
Class ResourceFinder

java.lang.Object
  extended by org.apache.xbean.finder.ResourceFinder

public class ResourceFinder
extends Object


Constructor Summary
ResourceFinder(String path)
           
ResourceFinder(String path, ClassLoader classLoader)
           
 
Method Summary
 Enumeration doFindCommands()
           
 List<Class> findAllClasses(String key)
           
 List<Class> findAllImplementations(Class interfase)
           
 List<Properties> findAllProperties(String key)
           
 List<String> findAllStrings(String key)
           
 List<Class> findAvailableClasses(String key)
           
 List<Class> findAvailableImplementations(Class interfase)
           
 List<Properties> findAvailableProperties(String key)
           
 List<String> findAvailableStrings(String key)
           
 Class findClass(String key)
           
 Class findImplementation(Class interfase)
           
 Properties findProperties(String key)
           
 String findString(String key)
           
 Map<String,URL> getResourcesMap(String key)
           
 Map<String,Class> mapAllClasses(String key)
           
 Map<String,Class> mapAllImplementations(Class interfase)
           
 Map<String,Properties> mapAllProperties(String key)
           
 Map<String,String> mapAllStrings(String key)
           
 Map<String,Class> mapAvailableClasses(String key)
           
 Map<String,Class> mapAvailableImplementations(Class interfase)
           
 Map<String,Properties> mapAvailableProperties(String key)
           
 Map<String,String> mapAvailableStrings(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFinder

public ResourceFinder(String path)

ResourceFinder

public ResourceFinder(String path,
                      ClassLoader classLoader)
Method Detail

findString

public String findString(String key)
                  throws IOException
Throws:
IOException

findAllStrings

public List<String> findAllStrings(String key)
                            throws IOException
Throws:
IOException

findAvailableStrings

public List<String> findAvailableStrings(String key)
                                  throws IOException
Throws:
IOException

mapAllStrings

public Map<String,String> mapAllStrings(String key)
                                 throws IOException
Throws:
IOException

mapAvailableStrings

public Map<String,String> mapAvailableStrings(String key)
                                       throws IOException
Throws:
IOException

findClass

public Class findClass(String key)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAllClasses

public List<Class> findAllClasses(String key)
                           throws IOException,
                                  ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAvailableClasses

public List<Class> findAvailableClasses(String key)
                                 throws IOException
Throws:
IOException

mapAllClasses

public Map<String,Class> mapAllClasses(String key)
                                throws IOException,
                                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

mapAvailableClasses

public Map<String,Class> mapAvailableClasses(String key)
                                      throws IOException
Throws:
IOException

findImplementation

public Class findImplementation(Class interfase)
                         throws IOException,
                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAllImplementations

public List<Class> findAllImplementations(Class interfase)
                                   throws IOException,
                                          ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAvailableImplementations

public List<Class> findAvailableImplementations(Class interfase)
                                         throws IOException
Throws:
IOException

mapAllImplementations

public Map<String,Class> mapAllImplementations(Class interfase)
                                        throws IOException,
                                               ClassNotFoundException
Throws:
IOException
ClassNotFoundException

mapAvailableImplementations

public Map<String,Class> mapAvailableImplementations(Class interfase)
                                              throws IOException
Throws:
IOException

findProperties

public Properties findProperties(String key)
                          throws IOException
Throws:
IOException

findAllProperties

public List<Properties> findAllProperties(String key)
                                   throws IOException
Throws:
IOException

findAvailableProperties

public List<Properties> findAvailableProperties(String key)
                                         throws IOException
Throws:
IOException

mapAllProperties

public Map<String,Properties> mapAllProperties(String key)
                                        throws IOException
Throws:
IOException

mapAvailableProperties

public Map<String,Properties> mapAvailableProperties(String key)
                                              throws IOException
Throws:
IOException

getResourcesMap

public Map<String,URL> getResourcesMap(String key)
                                throws IOException
Throws:
IOException

doFindCommands

public Enumeration doFindCommands()
                           throws IOException
Throws:
IOException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.