クラス InputStreamEditor
java.lang.ObjectSE
java.beans.PropertyEditorSupportSE
org.springframework.beans.propertyeditors.InputStreamEditor
- 実装されているすべてのインターフェース:
PropertyEditorSE
テキスト文字列を
java.io.InputStream に変換し、指定された文字列を Spring リソースの場所 (たとえば、URL 文字列) として解釈できる一方向の PropertyEditor。Spring スタイルの URL 表記をサポート: 完全修飾された標準 URL( "file:"、"http:" など)および Spring の特別な "classpath:" 疑似 URL。
そのようなストリームは通常 Spring 自体によって閉じられないことに注意してください!
- 導入:
- 1.0.1
- 作成者:
- Juergen Hoeller
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明下にあるデフォルトの ResourceEditor を使用して、新しい InputStreamEditor を作成します。InputStreamEditor(ResourceEditor resourceEditor) 下にある ResourceEditor を使用して、新しい InputStreamEditor を作成します。メソッドのサマリー
コンストラクターの詳細
InputStreamEditor
public InputStreamEditor()下にあるデフォルトの ResourceEditor を使用して、新しい InputStreamEditor を作成します。InputStreamEditor
下にある ResourceEditor を使用して、新しい InputStreamEditor を作成します。- パラメーター:
resourceEditor- 使用する ResourceEditor
メソッドの詳細
setAsText
- 次で指定:
- インターフェース
PropertyEditorSEのsetAsTextSE - オーバーライド:
- クラス
PropertyEditorSupportSEのsetAsTextSE - 例外:
IllegalArgumentExceptionSE
getAsText
この実装はnullを返し、適切なテキスト表現がないことを示します。- 次で指定:
- インターフェース
PropertyEditorSEのgetAsText - オーバーライド:
- クラス
PropertyEditorSupportSEのgetAsText