This class is used by the ImageUtil.createSequence call. It is used to filter the contents of a directory and return true to those files that match the pattern that this expects. After the files are selected the array of fileNames accepted are submitted to the postProcess method which returns an array of fileNames which will then be used to create a sequence of images in the order of the files in this array. So for files to appear in proper numeric order you will need to specify leading zeroes in the frame numbers. You can also pass in a boolean flag to indicate that the filter should ignore the suffix of the filename when matching.
Subclasses can overide or extend the methods to provide custom filtering operations.
The prefix of the file to be matched. The suffix of the file to be matched. This method is used by the createSequence call to filter the files found in the supplied directory. This method is called after the directory has been filtered. This method tests the frameNumber portion of the filename.