public final class RepositoryUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytesFromLocation(java.lang.String location) |
java.io.InputStream |
getInputStreamFromLocation(java.lang.String location) |
static RepositoryUtil |
getInstance(JasperReportsContext jasperReportsContext) |
JasperReport |
getReport(ReportContext reportContext,
java.lang.String location) |
<K extends Resource> |
getResourceFromLocation(java.lang.String location,
java.lang.Class<K> resourceType) |
public static RepositoryUtil getInstance(JasperReportsContext jasperReportsContext)
public JasperReport getReport(ReportContext reportContext, java.lang.String location) throws JRException
JRExceptionpublic <K extends Resource> K getResourceFromLocation(java.lang.String location, java.lang.Class<K> resourceType) throws JRException
JRExceptionpublic java.io.InputStream getInputStreamFromLocation(java.lang.String location)
throws JRException
JRExceptionpublic byte[] getBytesFromLocation(java.lang.String location)
throws JRException
JRException© 2001-2010 Jaspersoft Corporation www.jaspersoft.com