Mercurial > mxd2map
comparison 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 |
comparison
equal
deleted
inserted
replaced
24:c0060abb7457 | 25:cbd67b1100d8 |
---|---|
1 //package de.intevation.mxd.layer; | |
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 : |