public class ReaderEditor extends PropertyEditorSupportSE
java.io.Reader に変換できる一方向 PropertyEditor。指定された文字列を Spring リソースの場所(URL 文字列など)として解釈します。Spring スタイルの URL 表記をサポート: 完全修飾された標準 URL( "file:"、"http:" など)および Spring の特別な "classpath:" 疑似 URL。
このようなリーダーは通常、Spring 自体によって閉じられないことに注意してください。
ReaderSE, ResourceEditor, ResourceLoader, InputStreamEditor| コンストラクターと説明 |
|---|
ReaderEditor() 下にあるデフォルトの ResourceEditor を使用して、新しい ReaderEditor を作成します。 |
ReaderEditor(ResourceEditor resourceEditor) 下にある ResourceEditor を使用して、新しい ReaderEditor を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getAsText() この実装は null を返し、適切なテキスト表現がないことを示します。 |
void | setAsText(StringSE text) |
addPropertyChangeListenerSE, firePropertyChangeSE, getCustomEditorSE, getJavaInitializationStringSE, getSourceSE, getTagsSE, getValueSE, isPaintableSE, paintValueSE, removePropertyChangeListenerSE, setSourceSE, setValueSE, supportsCustomEditorSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ReaderEditor()
public ReaderEditor(ResourceEditor resourceEditor)
resourceEditor - 使用する ResourceEditorpublic void setAsText(StringSE text) throws IllegalArgumentExceptionSE
PropertyEditorSE の setAsTextSE PropertyEditorSupportSE の setAsTextSE IllegalArgumentExceptionSEpublic StringSE getAsText()
null を返し、適切なテキスト表現がないことを示します。PropertyEditorSE の getAsTextSE PropertyEditorSupportSE の getAsTextSE