public class AddeImageInfo
extends 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
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 and Description |
---|
AddeImageInfo()
no arg constructor
|
AddeImageInfo(java.lang.String locateKey,
java.lang.String locateValue,
java.lang.String placeValue,
int lines,
int elements,
int lmag,
int emag)
Create an AddeImageInfo.
|
AddeImageInfo(java.lang.String host,
java.lang.String requestType,
java.lang.String group,
java.lang.String descriptor)
Create an AddeImageURL.
|
AddeImageInfo(java.lang.String baseUrl,
java.lang.String locateKey,
java.lang.String locateValue,
java.lang.String placeValue,
int lines,
int elements,
int lmag,
int emag)
Create an AddeImageInfo.
|
AddeImageInfo(java.lang.String host,
java.lang.String requestType,
java.lang.String group,
java.lang.String descriptor,
java.lang.String query)
Create an ADDE Image URL from the given specs.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseUrl()
Get the base ADDE URL
|
java.lang.String |
makeAddeUrl()
Deprecated.
use getURLString() instead
|
void |
setBaseUrl(java.lang.String value)
Set the base ADDE URL
|
void |
setExtraKeys(java.lang.String extraKeys)
Set the extraKeys string for this ADDE URL
|
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
getDescriptor, getGroup, parseQuery, setDescriptor, setGroup
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
public AddeImageInfo()
public AddeImageInfo(java.lang.String host, java.lang.String requestType, java.lang.String group, java.lang.String descriptor)
host
- host to send torequestType
- type of request (REQ_IMAGEDATA, REQ_IMAGEDIR)group
- ADDE groupdescriptor
- ADDE descriptorpublic AddeImageInfo(java.lang.String host, java.lang.String requestType, java.lang.String group, java.lang.String descriptor, java.lang.String query)
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)public AddeImageInfo(java.lang.String baseUrl, java.lang.String locateKey, java.lang.String locateValue, java.lang.String placeValue, int lines, int elements, int lmag, int emag)
baseUrl
- base url (server, request type, etc)locateKey
- locate keylocateValue
- locate valueplaceValue
- PLACE valuelines
- number of lineselements
- number of elementslmag
- line magnificationemag
- element magnificationpublic AddeImageInfo(java.lang.String locateKey, java.lang.String locateValue, java.lang.String placeValue, int lines, int elements, int lmag, int emag)
locateKey
- locate keylocateValue
- locate valueplaceValue
- PLACE valuelines
- number of lineselements
- number of elementslmag
- line magnificationemag
- element magnificationpublic java.lang.String getBaseUrl()
public void setBaseUrl(java.lang.String value)
value
- the base ADDE URLpublic java.lang.String makeAddeUrl()
public void setExtraKeys(java.lang.String extraKeys)
setExtraKeys
in class edu.wisc.ssec.mcidas.adde.AddeURL
extraKeys
- the extraKeys