当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
PropertiesEditor (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
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:
- PropertyEditor
- public class PropertiesEditor
- extends TextPropertyEditorSupport
A property editor for Properties
.
- Version:
- $Revision: 1.5 $
- Author:
- Jason Dillon, Scott.Stark@jboss.org
Method Summary |
Object |
getValue()
Returns a Properties object initialized with current getAsText value
interpretted as a .properties file contents. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesEditor
public PropertiesEditor()
getValue
public 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.
- Returns:
- a Properties object
- Throws:
NestedRuntimeException
- An IOException occured.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.