summaryrefslogtreecommitdiff
path: root/altoslib/AltosWriter.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-22 18:46:58 -0700
committerKeith Packard <keithp@keithp.com>2014-05-22 18:46:58 -0700
commitb60a3689910731d9bdb8a431a3dcc9e99f961b35 (patch)
treeb40fdb9c02fb4b79ffb76a12f55b93c56f0b4c39 /altoslib/AltosWriter.java
parent2625a464417c8475c66101757ca2c30cd6c74e0c (diff)
altoslib: Move CSV/KML output code to altoslib
It's sharable, so share it Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosWriter.java')
-rw-r--r--altoslib/AltosWriter.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/altoslib/AltosWriter.java b/altoslib/AltosWriter.java
new file mode 100644
index 00000000..0b0daebd
--- /dev/null
+++ b/altoslib/AltosWriter.java
@@ -0,0 +1,27 @@
+/*
+ * 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 org.altusmetrum.altoslib_3;
+
+public interface AltosWriter {
+
+ public void write(AltosState state);
+
+ public void write(AltosStateIterable states);
+
+ public void close();
+}