|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.util.PropertyResourceBundleWriter
Provides methods to work with a Resource Bundle.
| Constructor Summary | |
PropertyResourceBundleWriter(java.io.File propertiesFile)
|
|
PropertyResourceBundleWriter(java.lang.String bundleFileName)
|
|
| Method Summary | |
java.lang.String |
getBundleFilePath()
|
java.lang.String |
getOptionalProperty(java.lang.String key)
Get property value. |
java.util.Map |
getProperties()
Get properties map |
java.lang.String |
getRequiredProperty(java.lang.String key)
Get property value. |
java.util.Iterator |
listPropertyNames()
|
protected void |
loadProperties()
|
void |
refresh()
Reload properties from file. |
void |
save()
Save properties to bundle file. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set property value. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public PropertyResourceBundleWriter(java.io.File propertiesFile)
throws java.io.IOException
public PropertyResourceBundleWriter(java.lang.String bundleFileName)
throws java.io.IOException
| Method Detail |
public java.lang.String getBundleFilePath()
public java.util.Iterator listPropertyNames()
public java.lang.String getOptionalProperty(java.lang.String key)
key - - the property key.
public java.lang.String getRequiredProperty(java.lang.String key)
throws java.util.MissingResourceException
key - - the property key.
protected void loadProperties()
throws java.io.IOException
public void refresh()
throws java.io.IOException
public void setProperty(java.lang.String key,
java.lang.String value)
key - - the property key.value - - the property value.
public void save()
throws java.io.IOException
public java.util.Map getProperties()
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||