net.sf.jasperreports.repo
Class FileRepositoryService
java.lang.Object
net.sf.jasperreports.repo.FileRepositoryService
- All Implemented Interfaces:
- RepositoryService, StreamRepositoryService
public class FileRepositoryService
- extends 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(String root,
boolean resolveAbsolutePath)
- Deprecated. Replaced by
FileRepositoryService(JasperReportsContext, String, boolean).
FileRepositoryService
public FileRepositoryService(JasperReportsContext jasperReportsContext,
String root,
boolean resolveAbsolutePath)
setRoot
public void setRoot(String root)
getRoot
public 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 InputStream getInputStream(String uri)
- Specified by:
getInputStream in interface RepositoryService- Specified by:
getInputStream in interface StreamRepositoryService
getOutputStream
public OutputStream getOutputStream(String uri)
- Specified by:
getOutputStream in interface StreamRepositoryService
getResource
public Resource getResource(String uri)
- Specified by:
getResource in interface RepositoryService
saveResource
public void saveResource(String uri,
Resource resource)
- Specified by:
saveResource in interface RepositoryService
getResource
public <K extends Resource> K getResource(String uri,
Class<K> resourceType)
- Specified by:
getResource in interface RepositoryService
Copyright © 2012. All Rights Reserved.