public class Das2ServerTimeSeriesBrowse extends java.lang.Object implements TimeSeriesBrowse
PROB_NO_TIMERANGE_PROVIDED, PROB_PARSE_ERROR_IN_TIMERANGE
Constructor and Description |
---|
Das2ServerTimeSeriesBrowse() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
blurURI()
return the URI without the timeSeriesBrowse settings, for use in .vap files and where the
timerange is set elsewhere.
|
DatumRange |
getTimeRange()
get the time range for the current view of the timeseries.
|
Datum |
getTimeResolution()
get the resolution for the current view of the timeseries.
|
java.lang.String |
getURI()
return the URI for the current time range and resolution.
|
void |
setTimeRange(DatumRange dr)
set the time range for the desired view of the timeseries.
|
void |
setTimeResolution(Datum d)
set the resolution for the desired view of the timeseries.
|
void |
setURI(java.lang.String suri)
Added in effort to make it easier to set the timerange if we have a timerange already.
|
public void setTimeRange(DatumRange dr)
TimeSeriesBrowse
setTimeRange
in interface TimeSeriesBrowse
dr
- the new time range.public void setTimeResolution(Datum d)
TimeSeriesBrowse
setTimeResolution
in interface TimeSeriesBrowse
d
- the time resolutionpublic java.lang.String getURI()
TimeSeriesBrowse
getURI
in interface TimeSeriesBrowse
public DatumRange getTimeRange()
TimeSeriesBrowse
getTimeRange
in interface TimeSeriesBrowse
public Datum getTimeResolution()
TimeSeriesBrowse
getTimeResolution
in interface TimeSeriesBrowse
public void setURI(java.lang.String suri) throws java.text.ParseException
TimeSeriesBrowse
setURI
in interface TimeSeriesBrowse
java.text.ParseException
- if the uri cannot be parsed.public java.lang.String blurURI()
TimeSeriesBrowse
blurURI
in interface TimeSeriesBrowse