Package org.carrot2.util
Class ChainedResourceLookup
- java.lang.Object
-
- org.carrot2.util.ChainedResourceLookup
-
- All Implemented Interfaces:
ResourceLookup
public class ChainedResourceLookup extends Object implements ResourceLookup
-
-
Constructor Summary
Constructors Constructor Description ChainedResourceLookup(List<ResourceLookup> resourceLookups)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(String resource)InputStreamopen(String resource)StringpathOf(String resource)
-
-
-
Constructor Detail
-
ChainedResourceLookup
public ChainedResourceLookup(List<ResourceLookup> resourceLookups)
-
-
Method Detail
-
open
public InputStream open(String resource) throws IOException
- Specified by:
openin interfaceResourceLookup- Throws:
IOException
-
exists
public boolean exists(String resource)
- Specified by:
existsin interfaceResourceLookup
-
pathOf
public String pathOf(String resource)
- Specified by:
pathOfin interfaceResourceLookup
-
-