com.jmw.tzap.sequencers
Class FileNameSequencer

java.lang.Object
  extended by com.jmw.tzap.sequencers.FileNameSequencer
All Implemented Interfaces:
Sequencer

public class FileNameSequencer
extends java.lang.Object
implements Sequencer

Orders ArrayList of FilterFiles alphabetically based on their file name determined by implmenting classes.


Constructor Summary
FileNameSequencer()
           
 
Method Summary
 FilterFile[] order(FilterFile[] files)
          Performs the order operation using Arrays.sort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNameSequencer

public FileNameSequencer()
Method Detail

order

public FilterFile[] order(FilterFile[] files)
Performs the order operation using Arrays.sort

Specified by:
order in interface Sequencer
Parameters:
files - an array containing the files to be ordered
Returns:
an array of the files in order