01: /*
02: * JUMPWriter.java
03: *
04: * Created on June 4, 2002, 10:59 AM
05: */
06: /*
07: * The Unified Mapping Platform (JUMP) is an extensible, interactive GUI
08: * for visualizing and manipulating spatial features with geometry and attributes.
09: *
10: * Copyright (C) 2003 Vivid Solutions
11: *
12: * This program is free software; you can redistribute it and/or
13: * modify it under the terms of the GNU General Public License
14: * as published by the Free Software Foundation; either version 2
15: * of the License, or (at your option) any later version.
16: *
17: * This program is distributed in the hope that it will be useful,
18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20: * GNU General Public License for more details.
21: *
22: * You should have received a copy of the GNU General Public License
23: * along with this program; if not, write to the Free Software
24: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25: *
26: * For more information, contact:
27: *
28: * Vivid Solutions
29: * Suite #1A
30: * 2328 Government Street
31: * Victoria BC V8T 5G5
32: * Canada
33: *
34: * (250)385-6040
35: * www.vividsolutions.com
36: */
37:
38: package com.vividsolutions.jump.io;
39:
40: import com.vividsolutions.jump.feature.FeatureCollection;
41:
42: /**
43: * Interface for JUMPWriter classes. Note: This is the old I/O API. Developers writing new
44: * I/O classes are encouraged to use the new API (com.vividsolutions.jump.io.datasource).
45: */
46: public interface JUMPWriter {
47: /**
48: * Write the specified file (dp property 'OutputFile' or 'DefaultValue') with any other
49: * specific parameters.
50: */
51: void write(FeatureCollection featureCollection, DriverProperties dp)
52: throws IllegalParametersException, Exception;
53: }
|