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 intdayprotected DBFField[]fieldsprotected bytefileTypeprotected intheaderSizeprotected intmonthprotected java.lang.String[][]recordsprotected intrecordsCountprotected intrecordSizeprotected intyear- 
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()voidread(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:
 readin classBaseFileReader- Throws:
 java.lang.Exception
 
- 
getContent
public java.lang.String[][] getContent()
 
- 
getFields
public DBFField[] getFields()
 
 - 
 
 -