Mercurial > mxd2map
comparison 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 |
comparison
equal
deleted
inserted
replaced
25:cbd67b1100d8 | 26:3e24fffdf2bb |
---|---|
1 //package de.intevation.mxd.reader; | |
2 | |
3 import java.io.IOException; | |
4 | |
5 /** | |
6 * The interface to the MXD-Reader. | |
7 * | |
8 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
9 */ | |
10 public interface IReader { | |
11 /** | |
12 * Initializes the reader component. | |
13 */ | |
14 boolean init() throws IOException; | |
15 | |
16 /** | |
17 * Method to perform actions at the of reader usage. | |
18 */ | |
19 boolean shutdown() throws IOException; | |
20 | |
21 /** | |
22 * Set the filename. | |
23 */ | |
24 void setFilename(String name); | |
25 | |
26 /** | |
27 * Read the content. | |
28 */ | |
29 boolean read() throws IOException; | |
30 | |
31 /** | |
32 * Request DOM Document containing the map data. | |
33 */ | |
34 void getMapDocument(); | |
35 } | |
36 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |