org.equanda.reporting.servlet
Class FileResolver
java.lang.Object
org.equanda.reporting.servlet.FileResolver
- All Implemented Interfaces:
- ReportResolver
public class FileResolver
- extends Object
- implements ReportResolver
report resolver
- Author:
- Joachim Van der Auwera
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_REPORT_PATH
public static final String PROPERTY_REPORT_PATH
- See Also:
- Constant Field Values
PROPERTY_IMAGE_PATH
public static final String PROPERTY_IMAGE_PATH
- See Also:
- Constant Field Values
FileResolver
public FileResolver()
FileResolver
public FileResolver(String reportPath,
String imagePath)
getInputStream
public InputStream getInputStream(String target)
- Description copied from interface:
ReportResolver
- Get the InputStream for a report resource (normally a subreport).
- Specified by:
getInputStream
in interface ReportResolver
- Parameters:
target
- name of target
- Returns:
- InputStream with the resource
getRealPath
public String getRealPath(String target)
getImageInputStream
public InputStream getImageInputStream(String target)
- Description copied from interface:
ReportResolver
- Get the InputStream for an image resource.
- Specified by:
getImageInputStream
in interface ReportResolver
- Parameters:
target
- name of target
- Returns:
- InputStream with the resource
getImageRealPath
public String getImageRealPath(String target)
getImageURI
public String getImageURI(String contextPath)
Copyright © 2007-2009. All Rights Reserved.