com.jmw.tzap.sequencers
Class NumericFileNameSequencer

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

public class NumericFileNameSequencer
extends java.lang.Object
implements Sequencer

Orders ArrayList of FilterFiles alphabetically based on a part of their file name delimited by the prefix and suffix attributes


Constructor Summary
NumericFileNameSequencer()
           
 
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

NumericFileNameSequencer

public NumericFileNameSequencer()
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