Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / drivers / LabelDriver.java @ 1517

History | View | Annotate | Download (3.52 KB)

1 1100 fjp
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40
 */
41 214 fernando
package com.iver.cit.gvsig.fmap.drivers;
42
43 1005 vcaballero
import com.hardcode.gdbms.engine.data.DataSource;
44
45
import com.iver.cit.gvsig.fmap.core.IGeometry;
46
47 214 fernando
import java.awt.geom.Rectangle2D;
48 1005 vcaballero
49 214 fernando
import java.io.File;
50
import java.io.IOException;
51
52
53
/**
54 1005 vcaballero
 * Driver que lee un shapefile de puntos y devuelve las IGeometry resultantes
55
 * de las llamadas a ShapeFactory.createLabel()
56 214 fernando
 */
57
public class LabelDriver implements VectorialFileDriver {
58
        /**
59
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#open(java.io.File)
60
         */
61
        public void open(File f) throws IOException {
62
        }
63
64
        /**
65
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#close()
66
         */
67
        public void close() throws IOException {
68
        }
69
70
        /**
71
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#getShape(int)
72
         */
73 305 fjp
        public IGeometry getShape(int index) throws IOException {
74 214 fernando
                return null;
75
        }
76
77
        /**
78
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#getShapeCount()
79
         */
80
        public int getShapeCount() throws IOException {
81
                return 0;
82
        }
83
84
        /**
85
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#getFullExtent()
86
         */
87
        public Rectangle2D getFullExtent() throws IOException {
88
                return null;
89
        }
90
91
        /**
92
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#initialize()
93
         */
94
        public void initialize() throws IOException {
95
        }
96
97
        /**
98
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialDriver#getShapeType()
99
         */
100
        public int getShapeType() {
101
                return 0;
102
        }
103 217 fernando
104
        /**
105
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialDriver#getRecordset()
106
         */
107 682 fjp
        public DataSource getRecordset() {
108 217 fernando
                return null;
109
        }
110 408 fernando
111
        /**
112
         * @see com.hardcode.driverManager.Driver#getType()
113
         */
114
        public String getName() {
115
                return null;
116
        }
117
118
        /**
119
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#accept(java.io.File)
120
         */
121
        public boolean accept(File f) {
122
                throw new RuntimeException("implementar bien");
123
        }
124
125
        /**
126
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#getDataDriverName()
127
         */
128
        public String getDataDriverName() {
129
                return null;
130
        }
131
132
        /**
133
         * @see com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver#getDataFile(java.io.File)
134
         */
135
        public File getDataFile(File f) {
136
                return null;
137
        }
138 1233 fjp
139
    /* (non-Javadoc)
140
     * @see com.iver.cit.gvsig.fmap.drivers.VectorialDriver#getDriverAttributes()
141
     */
142
    public DriverAttributes getDriverAttributes() {
143
        // TODO Auto-generated method stub
144
        return null;
145
    }
146 214 fernando
}