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 boolean
exists(String resource)
InputStream
open(String resource)
String
pathOf(String resource)
-
-
-
Constructor Detail
-
ChainedResourceLookup
public ChainedResourceLookup(List<ResourceLookup> resourceLookups)
-
-
Method Detail
-
open
public InputStream open(String resource) throws IOException
- Specified by:
open
in interfaceResourceLookup
- Throws:
IOException
-
exists
public boolean exists(String resource)
- Specified by:
exists
in interfaceResourceLookup
-
pathOf
public String pathOf(String resource)
- Specified by:
pathOf
in interfaceResourceLookup
-
-