org.carrot2.util.resources
Class ClassRelativeLocator

java.lang.Object
  extended by org.carrot2.util.resources.ClassRelativeLocator
All Implemented Interfaces:
ResourceLocator

public final class ClassRelativeLocator
extends Object
implements ResourceLocator

Looks up resources relative to the given class and its class loader.


Constructor Summary
ClassRelativeLocator()
           
 
Method Summary
 Resource[] getAll(String resource, Class clazz)
          Locate All matching resources and return their abstraction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassRelativeLocator

public ClassRelativeLocator()
Method Detail

getAll

public Resource[] getAll(String resource,
                         Class clazz)
Description copied from interface: ResourceLocator
Locate All matching resources and return their abstraction.

Specified by:
getAll in interface ResourceLocator


Copyright (c) Dawid Weiss, Stanislaw Osinski