diff options
| author | Keith Packard <keithp@keithp.com> | 2010-09-28 17:56:49 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-09-28 17:56:49 -0700 |
| commit | f0d1468ceae065f0cdae6f6ae3323dec5636f073 (patch) | |
| tree | 58172a481cfae7d68c8b08c524e72440eed2145c /ao-tools/altosui/AltosWriter.java | |
| parent | 5a119fd92532d53e552efe1f7c61e87181fcace0 (diff) | |
altosui: Add KML file export.
Command line has switches now, --kml and --csv
Export save dialog has combo box to select kml or csv result.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosWriter.java')
| -rw-r--r-- | ao-tools/altosui/AltosWriter.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosWriter.java b/ao-tools/altosui/AltosWriter.java new file mode 100644 index 00000000..a172dff0 --- /dev/null +++ b/ao-tools/altosui/AltosWriter.java @@ -0,0 +1,32 @@ +/* + * Copyright © 2010 Keith Packard <keithp@keithp.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +package altosui; + +import java.lang.*; +import java.io.*; +import java.text.*; +import java.util.*; + +public interface AltosWriter { + + public void write(AltosRecord record); + + public void write(AltosRecordIterable iterable); + + public void close(); +} |
