public interface ResourceService
| Modifier and Type | Field and Description |
|---|---|
static int |
FILE_RESOURCE |
| Modifier and Type | Method and Description |
|---|---|
String |
getResource(String mandatorId,
String groupId,
String artifactId,
String path,
int type,
Map<String,String> props)
Gets a resource as a String
|
InputStream |
getResourceAsStream(String mandatorId,
String groupId,
String artifactId,
String path,
int type,
Map<String,String> props)
Gets a resource as an InputStream
|
static final int FILE_RESOURCE
String getResource(String mandatorId, String groupId, String artifactId, String path, int type, Map<String,String> props) throws IOException
mandatorId - The mandator that holds the resourcegroupId - The id of the groupartifactId - The id of the artifactpath - The resource path relative to the mandator roottype - The type of the resourceprops - Properties (optional)IOException - If the resource cannot be readInputStream getResourceAsStream(String mandatorId, String groupId, String artifactId, String path, int type, Map<String,String> props) throws IOException
mandatorId - The mandator that holds the resourcegroupId - The id of the groupartifactId - The id of the artifactpath - The resource path relative to the mandator roottype - The type of the resourceprops - Properties (optional)IOException - If the resource cannot be readCopyright © 2015. All rights reserved.