class PrefixFileFilter extends AbstractFileFilter
filter| Constructor and Description |
|---|
PrefixFileFilter(java.lang.String filter)
Constructs a prefix file filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String filename)
Tests whether or not the specified abstract pathname should be
included in a pathname list.
|
accept, toStringpublic PrefixFileFilter(java.lang.String filter)
filter - filter file stringpublic boolean accept(java.lang.String filename)
accept in class AbstractFileFilterfilename - The filename to be testedtrue if and only if pathname
should be included