Revision 21837

View differences:

branches/Mobile_Compatible_Hito_1/libFMap/src-file/org/gvsig/data/datastores/vectorial/base/MemoryStore.java
48 48

  
49 49
import java.util.ArrayList;
50 50

  
51
import org.gvsig.data.exception.CloseException;
52
import org.gvsig.data.spatialprovisional.IExtent;
51
import org.gvsig.data.CloseException;
52
import org.gvsig.data.spatialprovisionalold.IExtent;
53 53
import org.gvsig.data.vectorial.AbstractFeatureStore;
54
import org.gvsig.data.vectorial.IFeature;
54
import org.gvsig.data.vectorial.Feature;
55 55

  
56 56
public abstract class MemoryStore extends AbstractFeatureStore {
57 57
	private ArrayList arrayFeatures = new ArrayList();
58 58

  
59 59
	private IExtent fullExtent;
60 60

  
61
	protected void addFeature(IFeature feature) {
61
	protected void addFeature(Feature feature) {
62 62
		arrayFeatures.add(feature);
63 63
		IExtent boundsShp = (IExtent) feature.getExtent();
64 64
		if (fullExtent == null) {
......
68 68
		}
69 69
	}
70 70

  
71
	protected IFeature getFeature(int index) {
72
		IFeature feature = (IFeature) arrayFeatures.get(index);
71
	protected Feature getFeature(int index) {
72
		Feature feature = (Feature) arrayFeatures.get(index);
73 73

  
74 74
		return feature;
75 75
	}
......
82 82
		return fullExtent;
83 83
	}
84 84

  
85
	public void close() throws CloseException {
85
	public void doClose() throws CloseException {
86 86
		arrayFeatures.clear();
87 87
		fullExtent = null;
88 88
	}
89 89

  
90
	public void dispose() throws CloseException {
90
	public void doDispose() throws CloseException {
91 91
		close();
92 92
	}
93 93

  

Also available in: Unified diff