|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.ssec.mcidas.adde.GetAreaFile
public class GetAreaFile
Application to fetch an AREA file and write it as a local file. It is command-line driven, but can be forced into "gui mode" by either using the '-gui' option or specifying the URL 'adde://image?' as the source (although in the latter case, you still need to the desitnation filename on the command line; whereas with the -gui option, a FileChooser is presented to the user).
| Field Summary | |
|---|---|
static int |
AD_AUXOFFSET
AD_AUXOFFSET - byte offset to start of auxilliary data section |
static int |
AD_CALOFFSET
AD_CALOFFSET - byte offset to start of calibration section |
static int |
AD_DATAOFFSET
AD_DATAOFFSET - byte offset to start of data block |
static int |
AD_DATAWIDTH
AD_DATAWIDTH - number of bytes per data point |
static int |
AD_NAVOFFSET
AD_NAVOFFSET - byte offset to start of navigation block |
| Constructor Summary | |
|---|---|
GetAreaFile(String[] args)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
void |
doRequest(Properties params)
|
static void |
main(String[] args)
|
String |
makeADDEString(Properties params)
make the ADDE request string out of the various parameters the host, group and descr are required. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int AD_DATAOFFSET
public static final int AD_NAVOFFSET
public static final int AD_AUXOFFSET
public static final int AD_CALOFFSET
public static final int AD_DATAWIDTH
| Constructor Detail |
|---|
public GetAreaFile(String[] args)
| Method Detail |
|---|
public static void main(String[] args)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void doRequest(Properties params)
public String makeADDEString(Properties params)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||