|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jmw.tzap.sequencers.PartialFileNameSequencer
public class PartialFileNameSequencer
Orders ArrayList of FilterFiles alphabetically based on a part of their file name delimited by the prefix and suffix attributes
Constructor Summary | |
---|---|
PartialFileNameSequencer()
|
Method Summary | |
---|---|
FilterFile[] |
order(FilterFile[] files)
Performs the order operation using Arrays.sort |
void |
setPrefix(java.lang.String prefix)
|
void |
setSuffix(java.lang.String suffix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartialFileNameSequencer()
Method Detail |
---|
public FilterFile[] order(FilterFile[] files)
order
in interface Sequencer
files
- an array containing the files to be ordered
public void setPrefix(java.lang.String prefix)
public void setSuffix(java.lang.String suffix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |