diff options
author | Keith Packard <keithp@keithp.com> | 2010-10-06 16:25:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-10-06 16:44:06 -0700 |
commit | c2c4d515ef9cc2cae8a8f2803e9498bb0794c4ed (patch) | |
tree | 0b106a7e38c77de4b3479cacb72250a775c1f660 /ao-tools/altosui/AltosGraphDataChooser.java | |
parent | d5caf6f2f4d9257e26aa4305b26c02d1b263fa24 (diff) |
altosui: Remove ability to graph data in .csv files
There's no reason to support these files when the raw .eeprom or
.telem files which generate them should be used instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosGraphDataChooser.java')
-rw-r--r-- | ao-tools/altosui/AltosGraphDataChooser.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ao-tools/altosui/AltosGraphDataChooser.java b/ao-tools/altosui/AltosGraphDataChooser.java index 667d99f7..caa14118 100644 --- a/ao-tools/altosui/AltosGraphDataChooser.java +++ b/ao-tools/altosui/AltosGraphDataChooser.java @@ -28,7 +28,6 @@ import java.text.*; import java.util.prefs.*; import altosui.AltosPreferences; -import altosui.AltosCsvReader; import altosui.AltosDataPointReader; import altosui.AltosEepromIterable; import altosui.AltosTelemetryIterable; @@ -62,8 +61,6 @@ public class AltosGraphDataChooser extends JFileChooser { } else if (filename.endsWith("telem")) { FileInputStream in = new FileInputStream(file); return new AltosDataPointReader(new AltosTelemetryIterable(in)); - } else if (filename.endsWith("csv")) { - return new AltosCsvReader(new FileReader(file)); } else { throw new FileNotFoundException(); } @@ -81,7 +78,7 @@ public class AltosGraphDataChooser extends JFileChooser { frame = in_frame; setDialogTitle("Select Flight Record File"); setFileFilter(new FileNameExtensionFilter("Flight data file", - "csv", "telem", "eeprom")); + "telem", "eeprom")); setCurrentDirectory(AltosPreferences.logdir()); } } |