@UsesJava7 public class PathEditor extends PropertyEditorSupportSE
java.nio.file.Path のエディター。ブリッジとして String プロパティを使用する代わりに、Path プロパティを直接入力します。Paths.get(URI)SE の解決アルゴリズムに基づいて、"file:..." パスのデフォルトのファイルシステムを含む、登録済みの NIO ファイルシステムプロバイダーをチェックします。また、Spring スタイルの URL 表記もサポートします。完全修飾された標準 URL と Spring の特別な "classpath:" 疑似 URL、および Spring のコンテキスト固有の相対ファイルパスです。フォールバックとして、既存のコンテキスト相対リソースが見つからない場合、パスは Paths#get(String) を介してファイルシステムで解決されます。
PathSE, Paths.get(URI)SE, ResourceEditor, ResourceLoader, FileEditor, URLEditor| コンストラクターと説明 |
|---|
PathEditor() 下にあるデフォルトの ResourceEditor を使用して、新しい PathEditor を作成します。 |
PathEditor(ResourceEditor resourceEditor) 下にある ResourceEditor を使用して、新しい PathEditor を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getAsText() |
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 PathEditor()
public PathEditor(ResourceEditor resourceEditor)
resourceEditor - 使用する ResourceEditorpublic void setAsText(StringSE text) throws IllegalArgumentExceptionSE
PropertyEditorSE の setAsTextSE PropertyEditorSupportSE の setAsTextSE IllegalArgumentExceptionSEpublic StringSE getAsText()
PropertyEditorSE の getAsTextSE PropertyEditorSupportSE の getAsTextSE