org.apache.xbean.finder
Class ResourceFinder
java.lang.Object
org.apache.xbean.finder.ResourceFinder
public class ResourceFinder
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFinder
public ResourceFinder(java.lang.String path)
ResourceFinder
public ResourceFinder(java.lang.String path,
java.lang.ClassLoader classLoader)
findString
public java.lang.String findString(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
findAllStrings
public java.util.List<java.lang.String> findAllStrings(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
findAvailableStrings
public java.util.List<java.lang.String> findAvailableStrings(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
mapAllStrings
public java.util.Map<java.lang.String,java.lang.String> mapAllStrings(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
mapAvailableStrings
public java.util.Map<java.lang.String,java.lang.String> mapAvailableStrings(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
findClass
public java.lang.Class findClass(java.lang.String key)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
findAllClasses
public java.util.List<java.lang.Class> findAllClasses(java.lang.String key)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
findAvailableClasses
public java.util.List<java.lang.Class> findAvailableClasses(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
mapAllClasses
public java.util.Map<java.lang.String,java.lang.Class> mapAllClasses(java.lang.String key)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
mapAvailableClasses
public java.util.Map<java.lang.String,java.lang.Class> mapAvailableClasses(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
findImplementation
public java.lang.Class findImplementation(java.lang.Class interfase)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
findAllImplementations
public java.util.List<java.lang.Class> findAllImplementations(java.lang.Class interfase)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
findAvailableImplementations
public java.util.List<java.lang.Class> findAvailableImplementations(java.lang.Class interfase)
throws java.io.IOException
- Throws:
java.io.IOException
mapAllImplementations
public java.util.Map<java.lang.String,java.lang.Class> mapAllImplementations(java.lang.Class interfase)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
mapAvailableImplementations
public java.util.Map<java.lang.String,java.lang.Class> mapAvailableImplementations(java.lang.Class interfase)
throws java.io.IOException
- Throws:
java.io.IOException
findProperties
public java.util.Properties findProperties(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
findAllProperties
public java.util.List<java.util.Properties> findAllProperties(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
findAvailableProperties
public java.util.List<java.util.Properties> findAvailableProperties(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
mapAllProperties
public java.util.Map<java.lang.String,java.util.Properties> mapAllProperties(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
mapAvailableProperties
public java.util.Map<java.lang.String,java.util.Properties> mapAvailableProperties(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
getResourcesMap
public java.util.Map<java.lang.String,java.net.URL> getResourcesMap(java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
doFindCommands
public java.util.Enumeration doFindCommands()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.