|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.repo.RepositoryUtil
public final class RepositoryUtil
Method Summary | ||
---|---|---|
static byte[] |
getBytes(java.lang.String location)
Deprecated. Replaced by getBytesFromLocation(String) . |
|
byte[] |
getBytesFromLocation(java.lang.String location)
|
|
static java.io.InputStream |
getInputStream(java.lang.String location)
Deprecated. Replaced by getInputStreamFromLocation(String) . |
|
java.io.InputStream |
getInputStreamFromLocation(java.lang.String location)
|
|
static RepositoryUtil |
getInstance(JasperReportsContext jasperReportsContext)
|
|
JasperReport |
getReport(ReportContext reportContext,
java.lang.String location)
|
|
static JasperReport |
getReport(java.lang.String location)
Deprecated. Replaced by getReport(ReportContext, String) . |
|
static java.util.List<RepositoryService> |
getRepositoryServices()
Deprecated. Replaced by getServices() . |
|
static
|
getResource(java.lang.String location,
java.lang.Class<K> resourceType)
Deprecated. Replaced by getResourceFromLocation(String, Class) . |
|
|
getResourceFromLocation(java.lang.String location,
java.lang.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 java.util.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, java.lang.String location) throws JRException
JRException
public static JasperReport getReport(java.lang.String location) throws JRException
getReport(ReportContext, String)
.
JRException
public <K extends Resource> K getResourceFromLocation(java.lang.String location, java.lang.Class<K> resourceType) throws JRException
JRException
public static <K extends Resource> K getResource(java.lang.String location, java.lang.Class<K> resourceType) throws JRException
getResourceFromLocation(String, Class)
.
JRException
public java.io.InputStream getInputStreamFromLocation(java.lang.String location) throws JRException
JRException
public static java.io.InputStream getInputStream(java.lang.String location) throws JRException
getInputStreamFromLocation(String)
.
JRException
public byte[] getBytesFromLocation(java.lang.String location) throws JRException
JRException
public static byte[] getBytes(java.lang.String location) throws JRException
getBytesFromLocation(String)
.
JRException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |