Class BaseFileReader
- java.lang.Object
-
- com.microstrategy.web.app.maps.shp.BaseFileReader
-
-
Constructor Summary
Constructors Constructor Description BaseFileReader(SHPParser shapefile, java.io.File file)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
SHPParser
getShapeFile()
static java.nio.ByteBuffer
load(java.io.File file)
abstract void
read(java.lang.String charset)
-
-
-
Field Detail
-
shapefile
protected SHPParser shapefile
-
file
protected java.io.File file
-
content
protected java.nio.ByteBuffer content
-
-
Constructor Detail
-
BaseFileReader
public BaseFileReader(SHPParser shapefile, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
read
public abstract void read(java.lang.String charset) throws java.lang.Exception
- Throws:
java.lang.Exception
-
load
public static java.nio.ByteBuffer load(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
getShapeFile
public SHPParser getShapeFile()
-
getFile
public java.io.File getFile()
-
-