Revision 21927 branches/Mobile_Compatible_Hito_1/libFMap_mobile_shp_driver/src-file/org/gvsig/data/datastores/vectorial/file/shp_mem/simplify/DbfMemoryDataSource.java
DbfMemoryDataSource.java | ||
---|---|---|
3 | 3 |
import java.io.File; |
4 | 4 |
import java.io.IOException; |
5 | 5 |
import java.sql.Types; |
6 |
import java.text.DateFormat; |
|
7 |
import java.text.ParseException; |
|
8 |
import java.text.SimpleDateFormat; |
|
9 |
import java.util.Date; |
|
10 | 6 |
|
11 | 7 |
import org.apache.log4j.Logger; |
12 | 8 |
import org.gvsig.data.datastores.vectorial.file.shp_mem.DbaseFileNIO; |
9 |
import org.gvsig.data.datastores.vectorial.file.shp_util.BaseReadException; |
|
13 | 10 |
import org.gvsig.data.datastores.vectorial.file.shp_util.DBFDataSource; |
14 | 11 |
import org.gvsig.data.datastores.vectorial.file.shp_util.DbfUtil; |
15 | 12 |
import org.gvsig.exceptions.DriverException; |
... | ... | |
258 | 255 |
* the index of the field of interest |
259 | 256 |
* @return teh field type |
260 | 257 |
*/ |
261 |
public int getFieldType(int arg0) throws DriverException {
|
|
258 |
public int getFieldType(int arg0) throws BaseReadException {
|
|
262 | 259 |
return dbFileAccess.getFieldIntType(arg0); |
263 | 260 |
} |
264 | 261 |
|
... | ... | |
269 | 266 |
* the index of the field of interest |
270 | 267 |
* @return teh field width |
271 | 268 |
*/ |
272 |
public int getFieldWidth(int arg0) throws DriverException {
|
|
269 |
public int getFieldWidth(int arg0) throws BaseReadException {
|
|
273 | 270 |
return dbFileAccess.getFieldLength(arg0); |
274 | 271 |
} |
275 | 272 |
|
Also available in: Unified diff