Class ReportContribution.VfsResourceWrapper
java.lang.Object
ch.tocco.nice2.reporting.api.description.ReportContribution.VfsResourceWrapper
- All Implemented Interfaces:
ReportResourceWrapper
- Enclosing class:
ReportContribution
public static final class ReportContribution.VfsResourceWrapper
extends Object
implements ReportResourceWrapper
-
Constructor Details
-
VfsResourceWrapper
-
-
Method Details
-
lastModified
public long lastModified()- Specified by:
lastModified
in interfaceReportResourceWrapper
- Returns:
- get last modified information (as ms since 1.1.1970)
- See Also:
-
openStream
- Specified by:
openStream
in interfaceReportResourceWrapper
- Returns:
- an InputStream to read from for this report resource
- Throws:
IOException
-
getParent
- Specified by:
getParent
in interfaceReportResourceWrapper
- Returns:
- a report resource representing this resource's parent
-
get
- Specified by:
get
in interfaceReportResourceWrapper
- Parameters:
key
- a key identifying another report resource- Returns:
- a report resource represented by 'key'
-
getType
Description copied from interface:ReportResourceWrapper
get the template type for this resource (e.g. freemarker)- Specified by:
getType
in interfaceReportResourceWrapper
- Returns:
- the template type
-
toString
-