クラス ResourceFiles
java.lang.ObjectSE
org.springframework.core.test.tools.ResourceFiles
- 実装されたすべてのインターフェース:
IterableSE<ResourceFile>
ResourceFile
インスタンスの不変コレクション。- 導入:
- 6.0
- 作成者:
- Phillip Webb
メソッドのサマリー
修飾子と型メソッド説明and
(IterableSE<ResourceFile> resourceFiles) ResourceFiles
インスタンスの別の iterable からファイルをマージする新しいResourceFiles
インスタンスを返します。and
(ResourceFile... resourceFiles) ResourceFile
インスタンスの別の配列からファイルをマージする新しいResourceFiles
インスタンスを返します。and
(ResourceFiles ResourceFiles) 別のResourceFiles
インスタンスからファイルをマージする新しいResourceFiles
インスタンスを返します。boolean
指定されたパスでResourceFile
を取得します。コレクションに含まれる単一のResourceFile
を返します。int
hashCode()
boolean
isEmpty()
このコレクションが空の場合、true
を返します。iterator()
static ResourceFiles
none()
アイテムのないDynamicFiles
インスタンスを返します。static ResourceFiles
of
(ResourceFile... ResourceFiles) 指定されたファイルを含むResourceFiles
インスタンスを作成するために使用できるファクトリメソッド。stream()
このコレクションに含まれるResourceFile
インスタンスをストリーミングします。toString()
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
インターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
メソッドの詳細
none
アイテムのないDynamicFiles
インスタンスを返します。- 戻り値:
- 空のインスタンス
of
指定されたファイルを含むResourceFiles
インスタンスを作成するために使用できるファクトリメソッド。- パラメーター:
ResourceFiles
- 含めるファイル- 戻り値:
ResourceFiles
インスタンス
and
ResourceFile
インスタンスの別の配列からファイルをマージする新しいResourceFiles
インスタンスを返します。- パラメーター:
resourceFiles
- マージするインスタンス- 戻り値:
- マージされたコンテンツを含む新しい
ResourceFiles
インスタンス
and
ResourceFiles
インスタンスの別の iterable からファイルをマージする新しいResourceFiles
インスタンスを返します。- パラメーター:
resourceFiles
- マージするインスタンス- 戻り値:
- マージされたコンテンツを含む新しい
ResourceFiles
インスタンス
and
別のResourceFiles
インスタンスからファイルをマージする新しいResourceFiles
インスタンスを返します。- パラメーター:
ResourceFiles
- マージするインスタンス- 戻り値:
- マージされたコンテンツを含む新しい
ResourceFiles
インスタンス
iterator
- 次で指定:
- インターフェース
IterableSE<ResourceFile>
のiterator
stream
このコレクションに含まれるResourceFile
インスタンスをストリーミングします。- 戻り値:
- ファイルインスタンスのストリーム
isEmpty
public boolean isEmpty()このコレクションが空の場合、true
を返します。- 戻り値:
- このコレクションが空の場合
get
指定されたパスでResourceFile
を取得します。- パラメーター:
path
- 見つける道- 戻り値:
ResourceFile
インスタンスまたはnull
getSingle
コレクションに含まれる単一のResourceFile
を返します。- 戻り値:
- 単一のファイル
- 例外:
IllegalStateExceptionSE
- コレクションにファイルが 1 つだけ含まれていない場合
equals
hashCode
public int hashCode()toString