Class SHXReader
- java.lang.Object
-
- com.microstrategy.web.app.maps.shp.BaseFileReader
-
- com.microstrategy.web.app.maps.shp.SHXReader
-
public class SHXReader extends BaseFileReader
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]contentLengthprotected SHPHeaderheaderprotected int[]offsets-
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 SHPHeadergetHeader()int[]getRecordLenghts()int[]getRecordOffsets()voidread(java.lang.String charset)-
Methods inherited from class com.microstrategy.web.app.maps.shp.BaseFileReader
getFile, getShapeFile, load
-
-
-
-
Field Detail
-
header
protected SHPHeader header
-
offsets
protected int[] offsets
-
contentLength
protected int[] contentLength
-
-
Constructor Detail
-
SHXReader
public SHXReader(SHPParser shapefile, java.io.File file) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
read
public void read(java.lang.String charset) throws java.lang.Exception- Specified by:
readin classBaseFileReader- Throws:
java.lang.Exception
-
getHeader
public SHPHeader getHeader()
-
getRecordOffsets
public int[] getRecordOffsets()
-
getRecordLenghts
public int[] getRecordLenghts()
-
-