|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindprod.csv.CSVSort.SortableCSVRow
class CSVSort.SortableCSVRow
Constructor Summary | |
---|---|
CSVSort.SortableCSVRow(java.lang.String[] fields,
java.lang.String[] leadComments,
java.lang.String tailComment)
constructor |
Method Summary | |
---|---|
int |
compareTo(CSVSort.SortableCSVRow other)
Sort on arbitrary list of columns. |
(package private) void |
emit(CSVWriter w)
output this row to a CSVWriter, including comments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
CSVSort.SortableCSVRow(java.lang.String[] fields, java.lang.String[] leadComments, java.lang.String tailComment)
fields
- List of fields to sort onleadComments
- comment lines prior to the this row, without lead #tailComment
- line on tail ent of line. null if so such comment, without lead #Method Detail |
---|
public final int compareTo(CSVSort.SortableCSVRow other)
compareTo
in interface java.lang.Comparable<CSVSort.SortableCSVRow>
other
- other SortableCSVRow to compare with this one
void emit(CSVWriter w)
w
- handle to CSVWriter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |