public class AddeServerInfo extends Object
Constructor and Description |
---|
AddeServerInfo()
Creates new AddeServerInfo.
|
AddeServerInfo(String[] l)
The non-default parameter is a list of of ADDE servers
|
Modifier and Type | Method and Description |
---|---|
String |
getArchiveDate() |
AreaDirectory[][] |
getAreaDirectories()
get the sorted list of AreaDirectory objects
|
String[] |
getBandNames()
return the bandNames text
|
String[] |
getDatasetList()
get a list of all datasets valid for this server and
the designated group.
|
String[] |
getDatasetListDescriptions()
get a list of all dataset descriptions for this server and
the designated group
|
String[] |
getDateTimeList()
get the valid date-time list for the selected server/group/dataset.
|
String |
getFileFormat()
Get the File Format (AREA, TEXT, NEXR, etc.) for the
currently selected group.
|
String[] |
getGroupList()
get a list of all groups valid for this server
|
boolean |
getIsArchive() |
String |
getRequestString(int reqestType)
Not used??
|
String |
getSelectedServer()
get name of the server that has been selected and for
which all group and dataset info is currently valid for
|
String[] |
getServerList()
get a list of servers
|
String |
getStatus()
get the status of the last request
|
static void |
main(String[] args)
For testing purposes.
|
void |
setArchiveDate(String d) |
void |
setIsArchive(boolean flag) |
void |
setSelectedDataset(String d)
identify the selected dataset
|
void |
setSelectedGroup(String g)
identify the selected group
|
int |
setSelectedServer(String s,
String type)
define which server to select, and the type of ADDE data group
(image, point, grid, text) to get group and descriptor info for
This is the workhorse of the code.
|
void |
setUserIDandProjString(String up)
set the userID and proj number if required for transactions,
as required by servers that use accounting.
|
public AddeServerInfo()
public AddeServerInfo(String[] l)
l
- a list of ADDE servers that can be used in lieu
of automatically obtaining it.public String[] getServerList()
public String getSelectedServer()
public int setSelectedServer(String s, String type)
s
- the name of the ADDE server to be selectedtype
- the type of data to select.public String[] getGroupList()
public String[] getDatasetList()
public String[] getDatasetListDescriptions()
public String[] getDateTimeList()
public String getFileFormat()
public AreaDirectory[][] getAreaDirectories()
public void setSelectedGroup(String g)
g
- the name of the group to selectpublic void setSelectedDataset(String d)
d
- the name of the dataset/descr to selectpublic void setIsArchive(boolean flag)
public boolean getIsArchive()
public void setArchiveDate(String d)
public String getArchiveDate()
public String[] getBandNames()
public String getRequestString(int reqestType)
public void setUserIDandProjString(String up)
up
- the user/project number request string in
the form "user=tom&proj=1234"public String getStatus()
public static void main(String[] args)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.