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