public class InputStreamEditor extends PropertyEditorSupportSE
java.io.InputStream に変換できる一方向 PropertyEditor。指定された文字列を Spring リソースの場所(URL 文字列など)として解釈します。Spring スタイルの URL 表記をサポート: 完全修飾された標準 URL( "file:"、"http:" など)および Spring の特別な "classpath:" 疑似 URL。
そのようなストリームは通常 Spring 自体によって閉じられないことに注意してください!
InputStreamSE, ResourceEditor, ResourceLoader, URLEditor, FileEditor| コンストラクターと説明 |
|---|
InputStreamEditor() 下にあるデフォルトの ResourceEditor を使用して、新しい InputStreamEditor を作成します。 |
InputStreamEditor(ResourceEditor resourceEditor) 下にある ResourceEditor を使用して、新しい InputStreamEditor を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
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 InputStreamEditor()
public InputStreamEditor(ResourceEditor resourceEditor)
resourceEditor - 使用する ResourceEditorpublic void setAsText(StringSE text) throws IllegalArgumentExceptionSE
PropertyEditorSE の setAsTextSE PropertyEditorSupportSE の setAsTextSE IllegalArgumentExceptionSE@Nullable public StringSE getAsText()
null を返し、適切なテキスト表現がないことを示します。PropertyEditorSE の getAsTextSE PropertyEditorSupportSE の getAsTextSE