Package ch.tocco.nice2.reporting.api
Interface ReportResourceWrapper
- All Known Implementing Classes:
FreemarkerReportResourceWrapper
,ReportContribution.VfsResourceWrapper
public interface ReportResourceWrapper
-
Method Summary
-
Method Details
-
lastModified
long lastModified()- Returns:
- get last modified information (as ms since 1.1.1970)
- See Also:
-
openStream
- Returns:
- an InputStream to read from for this report resource
- Throws:
IOException
-
getParent
ReportResourceWrapper getParent()- Returns:
- a report resource representing this resource's parent
-
get
- Parameters:
key
- a key identifying another report resource- Returns:
- a report resource represented by 'key'
-
getType
String getType()get the template type for this resource (e.g. freemarker)- Returns:
- the template type
-