com.jmw.tzap.groupers
Class StartsWithNameGrouper

java.lang.Object
  extended by com.jmw.tzap.groupers.StartsWithNameGrouper
All Implemented Interfaces:
Grouper

public class StartsWithNameGrouper
extends java.lang.Object
implements Grouper

Groups an array of files into one group.


Constructor Summary
StartsWithNameGrouper()
           
 
Method Summary
 java.util.ArrayList group(FilterFile[] files)
          Performs the group operation.
 void setLength(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartsWithNameGrouper

public StartsWithNameGrouper()
Method Detail

group

public java.util.ArrayList group(FilterFile[] files)
Performs the group operation.

Specified by:
group in interface Grouper
Parameters:
files - an array containing the files to be grouped
Returns:
an ArrayList of ArrayLists which each contain one group.

setLength

public void setLength(int length)
               throws java.lang.Exception
Throws:
java.lang.Exception