Class SuffixSelector

java.lang.Object
fc.io.fileselectors.ChainedFileSelector
fc.io.fileselectors.SuffixSelector
All Implemented Interfaces:
FileFilter

public class SuffixSelector extends ChainedFileSelector
Filters a list of files based on the specified suffix. To choose all files, specify a empty string as the suffix.

The specified pattern should be an file extension, or a comma delimited set of file extensions. For example:

gif
.gif
gif,.jpg,jpeg
Note: The '.' preceding the extension is optional: both gif and .gif are allowed in the specified pattern.