diff src/java/de/intevation/mxd/reader/IReader.java @ 26:3e24fffdf2bb

Moved reader components to reader folder.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 08 Apr 2011 12:26:17 +0200
parents src/java/de/intevation/mxd/IReader.java@cbd67b1100d8
children e5fdc37f8f94
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/java/de/intevation/mxd/reader/IReader.java	Fri Apr 08 12:26:17 2011 +0200
@@ -0,0 +1,36 @@
+//package de.intevation.mxd.reader;
+
+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)