net.sf.jett.util.GroupOrderByComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jett-core Show documentation
Show all versions of jett-core Show documentation
JETT is a Java API that reads an Excel spreadsheet as a template, takes your data, and
creates a new Excel spreadsheet that contains your data, formatted as in the template. It
works with .xls and .xlsx template spreadsheets.
The newest version!
package net.sf.jett.util;
import java.util.Comparator;
import java.util.List;
import net.sf.jett.exception.ParseException;
import net.sf.jett.model.Group;
/**
* A GroupOrderByComparator
is an OrderByComparator
* that operates on groups and understands that some of the "order by"
* properties are group properties (these must all be before the other "order
* by" properties that aren't group properties).
*
* @author Randy Gettman
* @since 0.3.0
*/
public class GroupOrderByComparator implements Comparator
{
private OrderByComparator