public final class RepositoryUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getBytes(String location)
Deprecated.
Replaced by
getBytesFromLocation(String). |
byte[] |
getBytesFromLocation(String location) |
static InputStream |
getInputStream(String location)
Deprecated.
Replaced by
getInputStreamFromLocation(String). |
InputStream |
getInputStreamFromLocation(String location) |
static RepositoryUtil |
getInstance(JasperReportsContext jasperReportsContext) |
JasperReport |
getReport(ReportContext reportContext,
String location) |
static JasperReport |
getReport(String location)
Deprecated.
Replaced by
getReport(ReportContext, String). |
static List<RepositoryService> |
getRepositoryServices()
Deprecated.
Replaced by
getServices(). |
static <K extends Resource> |
getResource(String location,
Class<K> resourceType)
Deprecated.
Replaced by
getResourceFromLocation(String, Class). |
<K extends Resource> |
getResourceFromLocation(String location,
Class<K> resourceType) |
static ReportContext |
getThreadReportContext()
Deprecated.
To be removed.
|
static void |
resetThreadReportContext()
Deprecated.
To be removed.
|
static void |
revertRepositoryContext()
Deprecated.
To be removed.
|
static void |
setRepositoryContext(RepositoryContext context)
Deprecated.
To be removed.
|
static void |
setThreadReportContext(ReportContext reportContext)
Deprecated.
To be removed.
|
public static RepositoryUtil getInstance(JasperReportsContext jasperReportsContext)
public static List<RepositoryService> getRepositoryServices()
getServices().public static void setRepositoryContext(RepositoryContext context)
public static void revertRepositoryContext()
public static ReportContext getThreadReportContext()
public static void setThreadReportContext(ReportContext reportContext)
public static void resetThreadReportContext()
public JasperReport getReport(ReportContext reportContext, String location) throws JRException
JRExceptionpublic static JasperReport getReport(String location) throws JRException
getReport(ReportContext, String).JRExceptionpublic <K extends Resource> K getResourceFromLocation(String location, Class<K> resourceType) throws JRException
JRExceptionpublic static <K extends Resource> K getResource(String location, Class<K> resourceType) throws JRException
getResourceFromLocation(String, Class).JRExceptionpublic InputStream getInputStreamFromLocation(String location) throws JRException
JRExceptionpublic static InputStream getInputStream(String location) throws JRException
getInputStreamFromLocation(String).JRExceptionpublic byte[] getBytesFromLocation(String location) throws JRException
JRExceptionpublic static byte[] getBytes(String location) throws JRException
getBytesFromLocation(String).JRExceptionCopyright © 2012. All Rights Reserved.