|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectau.csiro.netcdf.NcCSVExtract
public class NcCSVExtract
The ncextractcsv command reads a specified column of data from a comma separated
file and then writes this column to standard output.
Copyright 2010, CSIRO Australia
All rights reserved.
| Field Summary | |
|---|---|
static String |
COLUMN_INDEX
The name of the command line option used for specifying the index of the column. |
static String |
END_ROW
The name of the command line option used for specifying the end row. |
static String |
EXTRACT_COMMAND_NAME
The command name |
static String |
INPUT_FILE
The name of the command line option used for specifying the input csv file name. |
static String |
START_ROW
The name of the command line option used for specifying the start row. |
| Fields inherited from interface au.csiro.netcdf.cli.Command |
|---|
MAX_32BIT_OFFSET_FILE_SIZE, PRINT_WIDTH |
| Constructor Summary | |
|---|---|
NcCSVExtract()
Constructor |
|
| Method Summary | |
|---|---|
org.apache.commons.cli.Options |
createOptions()
Create the command line options for this CSVExtract command. |
void |
execute(String[] args)
Run the CSVExtract command. |
String |
getCommandName()
|
String |
getUsageString()
|
String |
validCommand(String[] commandLine)
Determine if this command is valid, check its syntax. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXTRACT_COMMAND_NAME
public static final String INPUT_FILE
public static final String COLUMN_INDEX
public static final String START_ROW
public static final String END_ROW
| Constructor Detail |
|---|
public NcCSVExtract()
| Method Detail |
|---|
public org.apache.commons.cli.Options createOptions()
createOptions in interface Command
public void execute(String[] args)
throws org.apache.commons.cli.ParseException,
IOException
execute in interface Commandargs - command line arguments.
org.apache.commons.cli.ParseException - thrown if the command line arguments can not be parsed.
IOException - thrown if netCDF can to be written to or read from.public String getCommandName()
getCommandName in interface Commandpublic String validCommand(String[] commandLine)
validCommand in interface CommandcommandLine - command line arguments.
public String getUsageString()
getUsageString in interface Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||