diff src/java/de/intevation/mxd/IReader.java @ 25:cbd67b1100d8

Initial commit of the first prototype.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 08 Apr 2011 11:47:59 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/java/de/intevation/mxd/IReader.java	Fri Apr 08 11:47:59 2011 +0200
@@ -0,0 +1,36 @@
+//package de.intevation.mxd.layer;
+
+import java.io.IOException;
+
+/**
+ * The interface to the MXD-Reader.
+ *
+ * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
+ */
+public interface IReader {
+    /**
+     * Initializes the reader component.
+     */
+    boolean init() throws IOException;
+
+    /**
+     * Method to perform actions at the of reader usage.
+     */
+    boolean shutdown() throws IOException;
+
+    /**
+     * Set the filename.
+     */
+    void setFilename(String name);
+
+    /**
+     * Read the content.
+     */
+    boolean read() throws IOException;
+
+    /**
+     * Request DOM Document containing the map data.
+     */
+    void getMapDocument();
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)