Package org.jboss.util.propertyeditor
Class PropertiesEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jboss.util.propertyeditor.TextPropertyEditorSupport
-
- org.jboss.util.propertyeditor.PropertiesEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class PropertiesEditor extends TextPropertyEditorSupport
A property editor forProperties
.- Version:
- $Revision$
-
-
Constructor Summary
Constructors Constructor Description PropertiesEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue()
Returns a Properties object initialized with current getAsText value interpretted as a .properties file contents.-
Methods inherited from class org.jboss.util.propertyeditor.TextPropertyEditorSupport
setAsText
-
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Returns a Properties object initialized with current getAsText value interpretted as a .properties file contents. This replaces any references of the form ${x} with the corresponding system property.- Specified by:
getValue
in interfacejava.beans.PropertyEditor
- Overrides:
getValue
in classjava.beans.PropertyEditorSupport
- Returns:
- a Properties object
- Throws:
NestedRuntimeException
- An IOException occured.
-
-