|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.config.properties.ApplicationProperties
A class to manage the interface with a single property set, used for application properties
Constructor Summary | |
ApplicationProperties()
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
exists(java.lang.String key)
Whether the specified key is present in the backing PropertySet. |
java.lang.String |
getContentType()
|
java.lang.String |
getDefaultBackedString(java.lang.String name)
Get the property from the application properties, but if not found, try to get from the default properties file. |
java.util.Locale |
getDefaultLocale()
|
protected java.util.Properties |
getDefaultProperties()
Get a list of default properties. |
protected java.lang.String |
getDefaultString(java.lang.String name)
Get the default property (if the property is not set) |
java.lang.String |
getEncoding()
Convenience method to get the content type for an application |
java.util.Collection |
getKeys()
|
boolean |
getOption(java.lang.String key)
Get the option from the application properties, but if not found, try to get from the default properties file. |
java.lang.String |
getString(java.lang.String name)
|
java.lang.String |
getText(java.lang.String name)
|
int |
hashCode()
|
void |
refresh()
Refresh application properties object by refreshing the PropertiesManager |
void |
setOption(java.lang.String key,
boolean value)
|
void |
setString(java.lang.String name,
java.lang.String value)
|
void |
setText(java.lang.String name,
java.lang.String value)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ApplicationProperties()
Method Detail |
public java.lang.String getText(java.lang.String name)
public void setText(java.lang.String name, java.lang.String value)
public java.lang.String getString(java.lang.String name)
public java.lang.String getDefaultBackedString(java.lang.String name)
protected java.lang.String getDefaultString(java.lang.String name)
name
-
public void setString(java.lang.String name, java.lang.String value)
public final boolean exists(java.lang.String key)
getOption(java.lang.String)
public boolean getOption(java.lang.String key)
public java.util.Collection getKeys()
public void setOption(java.lang.String key, boolean value)
public java.lang.String getEncoding()
public java.lang.String getContentType()
public void refresh()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
public int hashCode()
protected java.util.Properties getDefaultProperties()
#APP_PROPERTIES_DEFAULTS
public java.util.Locale getDefaultLocale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |