public class TimeSeriesURLGenerator extends Object implements XYURLGenerator, Serializable
Constructor and Description |
---|
TimeSeriesURLGenerator()
Default constructor.
|
TimeSeriesURLGenerator(DateFormat dateFormat,
String prefix,
String seriesParameterName,
String itemParameterName)
Construct TimeSeriesURLGenerator overriding defaults.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests this generator for equality with an arbitrary object.
|
String |
generateURL(XYDataset dataset,
int series,
int item)
Generates a URL for a particular item within a series.
|
DateFormat |
getDateFormat()
Returns a clone of the date format assigned to this URL generator.
|
String |
getItemParameterName()
Returns the item parameter name.
|
String |
getPrefix()
Returns the prefix string.
|
String |
getSeriesParameterName()
Returns the series parameter name.
|
public TimeSeriesURLGenerator()
public TimeSeriesURLGenerator(DateFormat dateFormat, String prefix, String seriesParameterName, String itemParameterName)
dateFormat
- a formatter for the date (null
not
permitted).prefix
- the prefix of the URL (null
not permitted).seriesParameterName
- the name of the series parameter in the URL
(null
not permitted).itemParameterName
- the name of the item parameter in the URL
(null
not permitted).public DateFormat getDateFormat()
null
).public String getPrefix()
null
).public String getSeriesParameterName()
null
).public String getItemParameterName()
null
).public String generateURL(XYDataset dataset, int series, int item)
generateURL
in interface XYURLGenerator
dataset
- the dataset (null
not permitted).series
- the series number (zero-based index).item
- the item number (zero-based index).Jas4pp 1.5 © Java Analysis Studio for Particle Physics