|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectts.util.file.FileTypeFilter
public class FileTypeFilter
ファイル・タイプを条件とするファイル・フィルタ・クラス
コンストラクタの概要 | |
---|---|
FileTypeFilter(FileType type)
ファイル・タイプを引数にとるコンストラクタ。 |
メソッドの概要 | |
---|---|
boolean |
accept(java.io.File file)
指定されたファイルが、このオブジェクトが条件とするファイル・タイプに該当 するかどうかを判定する。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public FileTypeFilter(FileType type)
type
- 条件とするファイル・タイプ。
java.lang.AssertionError
- 引数がヌルの場合(デバッグ・モードのみ)。メソッドの詳細 |
---|
public boolean accept(java.io.File file)
java.io.FileFilter
内の accept
file
- 判定対象のファイル。
java.lang.AssertionError
- 引数がヌルの場合(デバッグ・モードのみ)。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |