Class DBFReader
- java.lang.Object
-
- com.microstrategy.web.app.maps.shp.BaseFileReader
-
- com.microstrategy.web.app.maps.shp.DBFReader
-
public class DBFReader extends BaseFileReader
-
-
Field Summary
Fields Modifier and Type Field Description protected int
day
protected DBFField[]
fields
protected byte
fileType
protected int
headerSize
protected int
month
protected java.lang.String[][]
records
protected int
recordsCount
protected int
recordSize
protected int
year
-
Fields inherited from class com.microstrategy.web.app.maps.shp.BaseFileReader
content, file, shapefile
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[][]
getContent()
DBFField[]
getFields()
void
read(java.lang.String charset)
-
Methods inherited from class com.microstrategy.web.app.maps.shp.BaseFileReader
getFile, getShapeFile, load
-
-
-
-
Field Detail
-
fileType
protected byte fileType
-
year
protected int year
-
month
protected int month
-
day
protected int day
-
recordsCount
protected int recordsCount
-
headerSize
protected int headerSize
-
recordSize
protected int recordSize
-
fields
protected DBFField[] fields
-
records
protected java.lang.String[][] records
-
-
Constructor Detail
-
DBFReader
public DBFReader(SHPParser shapefile, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
read
public void read(java.lang.String charset) throws java.lang.Exception
- Specified by:
read
in classBaseFileReader
- Throws:
java.lang.Exception
-
getContent
public java.lang.String[][] getContent()
-
getFields
public DBFField[] getFields()
-
-