public class PropertiesEditor extends PropertyEditorSupportSE
Properties
SE オブジェクトのカスタム PropertyEditor
SE。 コンテンツ String
SE から Properties
オブジェクトへの変換を処理します。また、Map
SE から Properties
への変換を処理し、XML の「マップ」エントリを介して Properties
オブジェクトを生成します。
必要な形式は、標準の Properties
ドキュメントで定義されています。各プロパティは改行する必要があります。
Properties.load(java.io.Reader)
SEコンストラクターと説明 |
---|
PropertiesEditor() |
修飾子と型 | メソッドと説明 |
---|---|
void | setAsText(StringSE text) プロパティのコンテンツと見なして、 String SE を Properties SE に変換します。 |
void | setValue(ObjectSE value) |
addPropertyChangeListenerSE, firePropertyChangeSE, getAsTextSE, getCustomEditorSE, getJavaInitializationStringSE, getSourceSE, getTagsSE, getValueSE, isPaintableSE, paintValueSE, removePropertyChangeListenerSE, setSourceSE, supportsCustomEditorSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public void setAsText(@Nullable StringSE text) throws IllegalArgumentExceptionSE
String
SE を Properties
SE に変換します。PropertyEditorSE
の setAsTextSE
PropertyEditorSupportSE
の setAsTextSE
text
- そのように変換されるテキスト IllegalArgumentExceptionSE
public void setValue(ObjectSE value)
PropertyEditorSE
の setValueSE
PropertyEditorSupportSE
の setValueSE