Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / ReadableVectorial.java @ 213

History | View | Annotate | Download (914 Bytes)

1
/* Generated by Together */
2

    
3
package com.iver.cit.gvsig.fmap;
4

    
5
import java.awt.geom.Rectangle2D;
6
import java.io.IOException;
7

    
8
import com.iver.cit.gvsig.fmap.fshape.FGeometry;
9
public interface ReadableVectorial {
10
    /**
11
     * Indica que se va a comenzar a hacer una serie de operaciones sobre el origen de datos con la finalidad de que dicho origen de datos se prepare (abra el fichero, comience una transacci?n, conecte al servidor, ...). Abre el fichero de ?ndices en caso de que exista.
12
     * @throws IOException
13
     */
14
    void start() throws DriverIOException;
15

    
16
    /**
17
     * Hace que se cierre el soporte f?sico de la capa. Cierra el fichero de ?ndices en caso de que exista.
18
     */
19
    void stop() throws DriverIOException;
20

    
21
    FGeometry getShape(int index) throws DriverIOException;
22

    
23
    int getShapeCount() throws DriverIOException;
24
    
25
    Rectangle2D getFullExtent() throws DriverIOException;
26

    
27
}