|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.repo.RepositoryUtil
public final class RepositoryUtil
| Method Summary | ||
|---|---|---|
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
|
getResource(String location,
Class<K> resourceType)
Deprecated. Replaced by getResourceFromLocation(String, Class). |
|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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
JRException
public static JasperReport getReport(String location)
throws JRException
getReport(ReportContext, String).
JRException
public <K extends Resource> K getResourceFromLocation(String location,
Class<K> resourceType)
throws JRException
JRException
public static <K extends Resource> K getResource(String location,
Class<K> resourceType)
throws JRException
getResourceFromLocation(String, Class).
JRException
public InputStream getInputStreamFromLocation(String location)
throws JRException
JRException
public static InputStream getInputStream(String location)
throws JRException
getInputStreamFromLocation(String).
JRException
public byte[] getBytesFromLocation(String location)
throws JRException
JRException
public static byte[] getBytes(String location)
throws JRException
getBytesFromLocation(String).
JRException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||