net.sf.jasperreports.repo
Class RepositoryUtil
java.lang.Object
net.sf.jasperreports.repo.RepositoryUtil
public final class RepositoryUtil
- extends java.lang.Object
- Version:
- $Id: RepositoryUtil.java 4603 2011-09-13 12:35:32Z lucianc $
- Author:
- Teodor Danciu ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setRepositoryContext
public static void setRepositoryContext(RepositoryContext context)
- private static RepositoryContext getRepositoryContext()
{
return (RepositoryContext)localContextStack.top();
}
/**
revertRepositoryContext
public static void revertRepositoryContext()
getReport
public static JasperReport getReport(java.lang.String location)
throws JRException
- Throws:
JRException
getResource
public static <K extends Resource> K getResource(java.lang.String location,
java.lang.Class<K> resourceType)
throws JRException
- Throws:
JRException
getInputStream
public static java.io.InputStream getInputStream(java.lang.String location)
throws JRException
- Throws:
JRException
getBytes
public static byte[] getBytes(java.lang.String location)
throws JRException
- Throws:
JRException
Copyright © 2011. All Rights Reserved.