public class SuffixSelector extends ChainedFileSelector
The specified pattern should be an file extension, or a comma delimited set of file extensions. For example:
Note: The '.' preceding the extension is optional: both gif and .gif are allowed in the specified pattern.gif .gif gif,.jpg,jpeg
Constructor and Description |
---|
SuffixSelector(String pattern) |
SuffixSelector(String pattern,
ChainedFileSelector filter) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
accept
public SuffixSelector(String pattern)
public SuffixSelector(String pattern, ChainedFileSelector filter)