Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.app.analyst.csv.sort
Class SortCSV

    java.lang.Object
      org.encog.app.analyst.csv.basic.BasicFile
          org.encog.app.analyst.csv.sort.SortCSV

All Implemented Interfaces:
  QuantTask

    public class SortCSV

extends BasicFile

Used to sort a CSV file by one, or more, fields.

Field Summary

Fields inherited from class org.encog.app.analyst.csv.basic.BasicFile
`REPORT_INTERVAL`

Constructor Summary
`SortCSV()`

Method Summary
`List<SortedField>` | `getSortOrder()`
`void` | `process(File inputFile, File outputFile, boolean headers, CSVFormat format)` Process, and sort the files.

Methods inherited from class org.encog.app.analyst.csv.basic.BasicFile
`appendSeparator, getColumnCount, getFormat, getInputFilename, getInputHeadings, getPrecision, getRecordCount, getReport, getReportInterval, getScript, isAnalyzed, isExpectInputHeaders, isProduceOutputHeaders, performBasicCounts, prepareOutputFile, readHeaders, reportDone, reportDone, requestStop, resetStatus, setAnalyzed, setColumnCount, setExpectInputHeaders, setInputFilename, setInputFormat, setInputHeadings, setPrecision, setProduceOutputHeaders, setRecordCount, setReport, setReportInterval, setScript, shouldStop, toString, updateStatus, updateStatus, validateAnalyzed, writeRow`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SortCSV

    public SortCSV()

Method Detail

### getSortOrder

    public final List<SortedField> getSortOrder()

  Returns:
    Used to specify the sort order.

### process

    public final void process(File inputFile,
                              File outputFile,
                              boolean headers,
                              CSVFormat format)

  Process, and sort the files.

  Parameters:
    `inputFile` - The input file.
    `outputFile` - The output file.
    `headers` - True, if headers are to be used.
    `format` - The format of the file.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.