|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.DefaultJasperReportsContext
public class DefaultJasperReportsContext
| Field Summary | |
|---|---|
protected ConcurrentHashMap<String,String> |
properties
|
static String |
PROPERTIES_FILE
The name of the system property that specifies the properties file name. |
| Method Summary | ||
|---|---|---|
protected static Properties |
getDefaultProperties()
Sets the default properties. |
|
|
getExtensions(Class<T> extensionType)
Returns a list of extension objects for a specific extension type. |
|
static DefaultJasperReportsContext |
getInstance()
|
|
Map<String,String> |
getProperties()
|
|
String |
getProperty(String key)
Returns the value of the property. |
|
protected static String |
getSystemProperty(String propertyName)
|
|
Object |
getValue(String key)
|
|
protected void |
initProperties()
Loads the properties. |
|
protected void |
loadSystemProperties()
|
|
protected void |
loadSystemProperty(String sysKey,
String propKey)
|
|
void |
removeProperty(String key)
|
|
void |
setProperty(String key,
String value)
|
|
void |
setValue(String key,
Object value)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTIES_FILE
protected volatile ConcurrentHashMap<String,String> properties
| Method Detail |
|---|
public static DefaultJasperReportsContext getInstance()
protected void initProperties()
protected void loadSystemProperties()
protected static Properties getDefaultProperties()
throws JRException
JRExceptionprotected static String getSystemProperty(String propertyName)
protected void loadSystemProperty(String sysKey,
String propKey)
public Object getValue(String key)
getValue in interface JasperReportsContext
public void setValue(String key,
Object value)
setValue in interface JasperReportsContextpublic <T> List<T> getExtensions(Class<T> extensionType)
getExtensions in interface JasperReportsContextT - generic extension typeextensionType - the extension type
public String getProperty(String key)
getProperty in interface JasperReportsContextkey - the key
public void setProperty(String key,
String value)
setProperty in interface JasperReportsContextpublic void removeProperty(String key)
removeProperty in interface JasperReportsContextpublic Map<String,String> getProperties()
getProperties in interface JasperReportsContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||