public class FileRepositoryService extends java.lang.Object implements StreamRepositoryService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_NOT_IMPLEMENTED |
Constructor and Description |
---|
FileRepositoryService(JasperReportsContext jasperReportsContext,
java.lang.String root,
boolean resolveAbsolutePath) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(java.lang.String uri) |
java.io.OutputStream |
getOutputStream(java.lang.String uri) |
Resource |
getResource(java.lang.String uri) |
<K extends Resource> |
getResource(java.lang.String uri,
java.lang.Class<K> resourceType) |
java.lang.String |
getRoot() |
void |
saveResource(java.lang.String uri,
Resource resource) |
void |
setRoot(java.lang.String root) |
public static final java.lang.String EXCEPTION_MESSAGE_KEY_NOT_IMPLEMENTED
public FileRepositoryService(JasperReportsContext jasperReportsContext, java.lang.String root, boolean resolveAbsolutePath)
public void setRoot(java.lang.String root)
public java.lang.String getRoot()
public java.io.InputStream getInputStream(java.lang.String uri)
getInputStream
in interface StreamRepositoryService
public java.io.OutputStream getOutputStream(java.lang.String uri)
getOutputStream
in interface StreamRepositoryService
public Resource getResource(java.lang.String uri)
getResource
in interface RepositoryService
public void saveResource(java.lang.String uri, Resource resource)
saveResource
in interface RepositoryService
public <K extends Resource> K getResource(java.lang.String uri, java.lang.Class<K> resourceType)
getResource
in interface RepositoryService
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com