|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.leeds.ccg.andyt.grids.exchange.ESRIAsciiGridImporter
public class ESRIAsciiGridImporter
Class for importing ESRI Asciigrid.
| Field Summary | |
|---|---|
Grid2DSquareCellProcessor |
_Grid2DSquareCellProcessor
|
| Constructor Summary | |
|---|---|
ESRIAsciiGridImporter(java.io.File file,
Grid2DSquareCellProcessor _Grid2DSquareCellProcessor)
|
|
ESRIAsciiGridImporter(java.io.File file,
Grids_Environment _Grids_Environment)
Creates a new instance of ESRIAsciiGridImporter |
|
| Method Summary | |
|---|---|
void |
close()
For closing this.bufferedReader. |
java.lang.String |
getFilenamePrefix()
Returns the prefix (before "." part of filename of this.file. |
double |
readDouble()
Returns the next value as a double or Double.NEGATIVE_INFINITY |
double[] |
readHeaderDouble()
Reads the header of the file and returns a double[] where; [0] = (double) ncols; [1] = (double) nrows; [2] = xllcorner; [3] = yllcorner; [4] = cellsize; [5] = noDataValue if it exists or Double.NEGATIVE_INFINITY otherwise |
java.lang.Object[] |
readHeaderObject()
Reads the header of the file and returns a Object[] where; [0] = Long( ncols ); [1] = (double) nrows; [2] = xllcorner; [3] = yllcorner; [4] = cellsize; [5] = noDataValue if it exists or Double.NEGATIVE_INFINITY otherwise |
int |
readInt()
Returns the next value as a int or Integer.MIN_VALUE |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Grid2DSquareCellProcessor _Grid2DSquareCellProcessor
| Constructor Detail |
|---|
public ESRIAsciiGridImporter(java.io.File file,
Grid2DSquareCellProcessor _Grid2DSquareCellProcessor)
file - _Grid2DSquareCellProcessor -
public ESRIAsciiGridImporter(java.io.File file,
Grids_Environment _Grids_Environment)
| Method Detail |
|---|
public double[] readHeaderDouble()
public java.lang.Object[] readHeaderObject()
public double readDouble()
public int readInt()
public void close()
public java.lang.String getFilenamePrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||