|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.DefaultJasperReportsContext
public class DefaultJasperReportsContext
Field Summary | |
---|---|
protected java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String> |
properties
|
static java.lang.String |
PROPERTIES_FILE
The name of the system property that specifies the properties file name. |
Method Summary | ||
---|---|---|
protected static java.util.Properties |
getDefaultProperties()
Sets the default properties. |
|
|
getExtensions(java.lang.Class<T> extensionType)
Returns a list of extension objects for a specific extension type. |
|
static DefaultJasperReportsContext |
getInstance()
|
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
|
|
java.lang.String |
getProperty(java.lang.String key)
Returns the value of the property. |
|
protected static java.lang.String |
getSystemProperty(java.lang.String propertyName)
|
|
java.lang.Object |
getValue(java.lang.String key)
|
|
protected void |
initProperties()
Loads the properties. |
|
protected void |
loadSystemProperties()
|
|
protected void |
loadSystemProperty(java.lang.String sysKey,
java.lang.String propKey)
|
|
void |
removeProperty(java.lang.String key)
|
|
void |
setProperty(java.lang.String key,
java.lang.String value)
|
|
void |
setValue(java.lang.String key,
java.lang.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 java.lang.String PROPERTIES_FILE
protected volatile java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String> properties
Method Detail |
---|
public static DefaultJasperReportsContext getInstance()
protected void initProperties()
protected void loadSystemProperties()
protected static java.util.Properties getDefaultProperties() throws JRException
JRException
protected static java.lang.String getSystemProperty(java.lang.String propertyName)
protected void loadSystemProperty(java.lang.String sysKey, java.lang.String propKey)
public java.lang.Object getValue(java.lang.String key)
getValue
in interface JasperReportsContext
public void setValue(java.lang.String key, java.lang.Object value)
setValue
in interface JasperReportsContext
public <T> java.util.List<T> getExtensions(java.lang.Class<T> extensionType)
getExtensions
in interface JasperReportsContext
T
- generic extension typeextensionType
- the extension type
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface JasperReportsContext
key
- the key
public void setProperty(java.lang.String key, java.lang.String value)
setProperty
in interface JasperReportsContext
public void removeProperty(java.lang.String key)
removeProperty
in interface JasperReportsContext
public java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties
in interface JasperReportsContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |