root / trunk / libraries / libDataSource / src / org / gvsig / data / datastores / vectorial / driver / IDriver.java @ 19399
History | View | Annotate | Download (1.19 KB)
1 |
package org.gvsig.data.datastores.vectorial.driver; |
---|---|
2 |
|
3 |
import java.awt.geom.Rectangle2D; |
4 |
import java.util.List; |
5 |
|
6 |
import org.cresques.cts.IProjection; |
7 |
import org.gvsig.data.vectorial.IFeature; |
8 |
import org.gvsig.data.vectorial.IFeatureCollection; |
9 |
import org.gvsig.data.vectorial.IFeatureID; |
10 |
import org.gvsig.data.vectorial.IFeatureType; |
11 |
import org.gvsig.data.vectorial.expansionadapter.FeatureManager; |
12 |
; |
13 |
|
14 |
public interface IDriver { |
15 |
|
16 |
public String getName(); |
17 |
|
18 |
public void init(IDriverParameters parameters); |
19 |
|
20 |
public IFeatureCollection getDataCollection(FeatureManager featureManager,IFeatureType type, String filter, String order); |
21 |
|
22 |
public IFeature getFeatureByID(IFeatureID id);
|
23 |
public IFeature getFeatureByPosition(IFeatureType featureType,long position); |
24 |
|
25 |
public IFeatureType getFeatureType();
|
26 |
|
27 |
public void open(); |
28 |
public void close(); |
29 |
public void dispose(); |
30 |
|
31 |
public IFeaturesReader getFeatutesReader();
|
32 |
public IFeaturesWriter getFeaturesWriter();
|
33 |
|
34 |
public Rectangle2D getFullExtent(); |
35 |
|
36 |
public boolean isEditable(); |
37 |
|
38 |
public boolean canAlterFeatureType(); |
39 |
|
40 |
public IDriverParameters getParameters();
|
41 |
|
42 |
public List getAllSRS(); |
43 |
|
44 |
public long getFeatureCount(); |
45 |
|
46 |
} |