public class AvlCsvWriter extends CsvWriterBase
Constructor and Description |
---|
AvlCsvWriter(java.lang.String fileName,
java.lang.String timezoneStr)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
write(AvlReport avlReport)
Appends an AvlReport to the CSV file.
|
void |
write(AvlReport avlReport,
boolean transformForChinaMap)
Appends an AvlReport to the CSV file.
|
close
public AvlCsvWriter(java.lang.String fileName, java.lang.String timezoneStr)
fileName
- timezoneStr
- For outputting time in proper timezone. If null then will
output time in local time.public void write(AvlReport avlReport, boolean transformForChinaMap)
avlReport
- The AvlReport to be appended to the CSV filetransformForChinaMap
- If true then will convert lat/lon so that can be displayed on
map of China.public void write(AvlReport avlReport)
avlReport
- The AvlReport to be appended to the CSV file