org.carrot2.util.resource
Class ClassRelativeLocator

java.lang.Object
  extended by org.carrot2.util.resource.ClassRelativeLocator
All Implemented Interfaces:
IResourceLocator

public class ClassRelativeLocator
extends Object
implements IResourceLocator

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


Constructor Summary
ClassRelativeLocator()
           
 
Method Summary
 IResource[] 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 IResource[] getAll(String resource,
                          Class<?> clazz)
Description copied from interface: IResourceLocator
Locate All matching resources and return their abstraction.

Specified by:
getAll in interface IResourceLocator


Copyright (c) Dawid Weiss, Stanislaw Osinski