Revision 23570 branches/v2_0_0_prep/libraries/libFMap_dataFile/src/org/gvsig/fmap/data/feature/file/dbf/DBFFeature.java
DBFFeature.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
import org.gvsig.fmap.data.DataException; |
11 | 11 |
import org.gvsig.fmap.data.ReadException; |
12 |
import org.gvsig.fmap.data.feature.AbstractFeature; |
|
13 | 12 |
import org.gvsig.fmap.data.feature.AttributeDescriptor; |
13 |
import org.gvsig.fmap.data.feature.DelayedLoadFeature; |
|
14 | 14 |
import org.gvsig.fmap.data.feature.Feature; |
15 | 15 |
import org.gvsig.fmap.data.feature.FeatureAttributeDescriptor; |
16 | 16 |
import org.gvsig.fmap.data.feature.FeatureID; |
... | ... | |
19 | 19 |
import org.gvsig.fmap.geom.primitive.Envelope; |
20 | 20 |
|
21 | 21 |
|
22 |
public class DBFFeature extends AbstractFeature{
|
|
22 |
public class DBFFeature extends DelayedLoadFeature {
|
|
23 | 23 |
protected static Locale ukLocale = new Locale("en", "UK"); |
24 | 24 |
protected DBFStore store; |
25 | 25 |
protected long featureIndex; |
... | ... | |
28 | 28 |
super(featureType); |
29 | 29 |
this.store=store; |
30 | 30 |
this.featureIndex=featureIndex; |
31 |
load(); |
|
32 | 31 |
} |
33 | 32 |
|
34 | 33 |
|
... | ... | |
44 | 43 |
|
45 | 44 |
} |
46 | 45 |
|
47 |
private void load() throws ReadException{
|
|
46 |
protected void doLoad() throws ReadException {
|
|
48 | 47 |
Iterator iterator=featureType.iterator(); |
49 | 48 |
this.loading(); |
50 | 49 |
while (iterator.hasNext()) { |
Also available in: Unified diff