|
deegree-tools-3.0-pre-nightly (2010/03/05 00:05) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.tools.coverage.utils.RasterOptionsParser
public class RasterOptionsParser
The RasterOptionsParser supplies methods for creating a raster from the command line.
| Field Summary | |
|---|---|
static String |
OPT_RASTER_DIR
The 'input' raster dir |
static String |
OPT_RECURSIVE
Should the raster directory be read recursively |
| Constructor Summary | |
|---|---|
RasterOptionsParser()
|
|
| Method Summary | |
|---|---|
static void |
addRasterIOLineOptions(org.apache.commons.cli.Options options)
Add the rasterio (loading) options to the given cli options. |
static org.deegree.coverage.raster.AbstractRaster |
loadRaster(org.apache.commons.cli.CommandLine line,
org.deegree.coverage.raster.io.RasterIOOptions options)
|
static org.deegree.coverage.raster.io.RasterIOOptions |
parseRasterIOOptions(org.apache.commons.cli.CommandLine line,
org.deegree.coverage.raster.data.info.DataType noDataType)
Read options from the command line and create a RasterIOOptions from them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OPT_RASTER_DIR
public static final String OPT_RECURSIVE
| Constructor Detail |
|---|
public RasterOptionsParser()
| Method Detail |
|---|
public static org.deegree.coverage.raster.io.RasterIOOptions parseRasterIOOptions(org.apache.commons.cli.CommandLine line,
org.deegree.coverage.raster.data.info.DataType noDataType)
RasterIOOptions from them.
line - noDataType - the data type of the no data value.
public static void addRasterIOLineOptions(org.apache.commons.cli.Options options)
options -
public static org.deegree.coverage.raster.AbstractRaster loadRaster(org.apache.commons.cli.CommandLine line,
org.deegree.coverage.raster.io.RasterIOOptions options)
throws IOException
line - to get the raster directory and the recursive option from.options - created from parseRasterIOOptions(CommandLine, DataType)
IOException
|
deegree-tools-3.0-pre-nightly (2010/03/05 00:05) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||