Class FileResourceResolver
- java.lang.Object
-
- com.lyncode.xoai.dataprovider.services.impl.FileResourceResolver
-
- All Implemented Interfaces:
ResourceResolver
public class FileResourceResolver extends Object implements ResourceResolver
-
-
Constructor Summary
Constructors Constructor Description FileResourceResolver(String basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetResource(String path)TemplatesgetTemplates(String path)
-
-
-
Constructor Detail
-
FileResourceResolver
public FileResourceResolver(String basePath)
-
-
Method Detail
-
getResource
public InputStream getResource(String path) throws IOException
- Specified by:
getResourcein interfaceResourceResolver- Throws:
IOException
-
getTemplates
public Templates getTemplates(String path) throws IOException, TransformerConfigurationException
- Specified by:
getTemplatesin interfaceResourceResolver- Throws:
IOExceptionTransformerConfigurationException
-
-