Package ucar.unidata.data.imagery
Class AddeImageInfo
java.lang.Object
edu.wisc.ssec.mcidas.adde.AddeURL
edu.wisc.ssec.mcidas.adde.AddeDatasetURL
edu.wisc.ssec.mcidas.adde.AddeImageURL
ucar.unidata.data.imagery.AddeImageInfo
- All Implemented Interfaces:
Cloneable
A class for holding the information about an ADDE image request
- Version:
- $Revision: 1.7 $
- Author:
- IDV Development Team
-
Field Summary
Fields inherited from class edu.wisc.ssec.mcidas.adde.AddeImageURL
KEY_AUX, KEY_BAND, KEY_DAY, KEY_DOC, KEY_ID, KEY_LATLON, KEY_LINEELE, KEY_LOC, KEY_MAG, KEY_NAV, KEY_NUM, KEY_PLACE, KEY_POS, KEY_SIZE, KEY_SPAC, KEY_TIME, KEY_UNIT
Fields inherited from class edu.wisc.ssec.mcidas.adde.AddeDatasetURL
KEY_DESCRIPTOR, KEY_GROUP
Fields inherited from class edu.wisc.ssec.mcidas.adde.AddeURL
ADDE_PROTOCOL, ALL, COMPRESS, DEFAULT_VALUE, GZIP, KEY_COMPRESS, KEY_DEBUG, KEY_PORT, KEY_PROJ, KEY_TRACE, KEY_USER, KEY_VERSION, NO, NO_COMPRESS, REQ_ADIR, REQ_AGET, REQ_DATASETINFO, REQ_GDIR, REQ_GGET, REQ_GRIDDATA, REQ_GRIDDIR, REQ_IMAGEDATA, REQ_IMAGEDIR, REQ_LWPR, REQ_MDKS, REQ_OBTEXT, REQ_OBTG, REQ_POINTDATA, REQ_TEXT, REQ_TXTG, REQ_WTXG, REQ_WXTEXT, TRACE_OFF, TRACE_ON, YES
-
Constructor Summary
ConstructorsConstructorDescriptionno arg constructorAddeImageInfo
(String locateKey, String locateValue, String placeValue, int lines, int elements, int lmag, int emag) Create an AddeImageInfo.AddeImageInfo
(String host, String requestType, String group, String descriptor) Create an AddeImageURL.AddeImageInfo
(String baseUrl, String locateKey, String locateValue, String placeValue, int lines, int elements, int lmag, int emag) Create an AddeImageInfo.Create an ADDE Image URL from the given specs. -
Method Summary
Modifier and TypeMethodDescriptionGet the base ADDE URLCreate the ADDE URLvoid
setBaseUrl
(String value) Set the base ADDE URLvoid
setExtraKeys
(String extraKeys) Set the extraKeys string for this ADDE URLMethods inherited from class edu.wisc.ssec.mcidas.adde.AddeImageURL
appendDateOrPosString, getAuxValue, getBand, getDatasetPosition, getDocValue, getElementMag, getElements, getEndDate, getId, getLineMag, getLines, getLocateKey, getLocateValue, getNavType, getPlaceValue, getSpacing, getStartDate, getTimeCoverage, getUnit, makeQuery, setAuxValue, setBand, setDatasetPosition, setDocValue, setElementMag, setElements, setEndDate, setId, setLineMag, setLines, setLocateKey, setLocateValue, setNavType, setPlaceValue, setSpacing, setStartDate, setTimeCoverage, setUnit
Methods inherited from class edu.wisc.ssec.mcidas.adde.AddeDatasetURL
getDescriptor, getGroup, parseQuery, setDescriptor, setGroup
Methods inherited from class edu.wisc.ssec.mcidas.adde.AddeURL
appendKeyValue, clone, equals, getCompression, getDebug, getExtraKeys, getHost, getPort, getProject, getRequestType, getTrace, getURLString, getUser, getValue, getVersion, hashCode, setCompression, setCompressionFromString, setDebug, setHost, setPort, setProject, setRequestType, setTrace, setUser, setVersion
-
Constructor Details
-
AddeImageInfo
public AddeImageInfo()no arg constructor -
AddeImageInfo
Create an AddeImageURL.- Parameters:
host
- host to send torequestType
- type of request (REQ_IMAGEDATA, REQ_IMAGEDIR)group
- ADDE groupdescriptor
- ADDE descriptor
-
AddeImageInfo
public AddeImageInfo(String host, String requestType, String group, String descriptor, String query) Create an ADDE Image URL from the given specs.- Parameters:
host
- host to send torequestType
- type of request (REQ_IMAGEDATA, REQ_IMAGEDIR)group
- ADDE group (may be null)descriptor
- ADDE descriptor (may be null)query
- query string (key/value pairs)
-
AddeImageInfo
public AddeImageInfo(String baseUrl, String locateKey, String locateValue, String placeValue, int lines, int elements, int lmag, int emag) Create an AddeImageInfo.- Parameters:
baseUrl
- base url (server, request type, etc)locateKey
- locate keylocateValue
- locate valueplaceValue
- PLACE valuelines
- number of lineselements
- number of elementslmag
- line magnificationemag
- element magnification
-
AddeImageInfo
public AddeImageInfo(String locateKey, String locateValue, String placeValue, int lines, int elements, int lmag, int emag) Create an AddeImageInfo.- Parameters:
locateKey
- locate keylocateValue
- locate valueplaceValue
- PLACE valuelines
- number of lineselements
- number of elementslmag
- line magnificationemag
- element magnification
-
-
Method Details
-
getBaseUrl
Get the base ADDE URL- Returns:
- the base ADDE URL
-
setBaseUrl
Set the base ADDE URL- Parameters:
value
- the base ADDE URL
-
makeAddeUrl
Create the ADDE URL- Returns:
- a Adde URL deprecated use getURLString() instead
-
setExtraKeys
Set the extraKeys string for this ADDE URL- Overrides:
setExtraKeys
in classAddeURL
- Parameters:
extraKeys
- the extraKeys
-