net.sf.jasperreports.repo
Class FileRepositoryService
java.lang.Object
net.sf.jasperreports.repo.FileRepositoryService
- All Implemented Interfaces:
- RepositoryService, StreamRepositoryService
public class FileRepositoryService
- extends java.lang.Object
- implements StreamRepositoryService
- Version:
- $Id: FileRepositoryService.java 5050 2012-03-12 10:11:26Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRepositoryService
public FileRepositoryService(java.lang.String root,
boolean resolveAbsolutePath)
- Deprecated. Replaced by
FileRepositoryService(JasperReportsContext, String, boolean)
.
FileRepositoryService
public FileRepositoryService(JasperReportsContext jasperReportsContext,
java.lang.String root,
boolean resolveAbsolutePath)
setRoot
public void setRoot(java.lang.String root)
getRoot
public java.lang.String getRoot()
setContext
public void setContext(RepositoryContext context)
- Deprecated. To be removed.
- Description copied from interface:
RepositoryService
- public T createContext();
/**
- Specified by:
setContext
in interface RepositoryService
revertContext
public void revertContext()
- Deprecated. To be removed.
- Specified by:
revertContext
in interface RepositoryService
getInputStream
public java.io.InputStream getInputStream(java.lang.String uri)
- Specified by:
getInputStream
in interface RepositoryService
- Specified by:
getInputStream
in interface StreamRepositoryService
getOutputStream
public java.io.OutputStream getOutputStream(java.lang.String uri)
- Specified by:
getOutputStream
in interface StreamRepositoryService
getResource
public Resource getResource(java.lang.String uri)
- Specified by:
getResource
in interface RepositoryService
saveResource
public void saveResource(java.lang.String uri,
Resource resource)
- Specified by:
saveResource
in interface RepositoryService
getResource
public <K extends Resource> K getResource(java.lang.String uri,
java.lang.Class<K> resourceType)
- Specified by:
getResource
in interface RepositoryService
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com