@Override public String generateURL(XYDataset dataset,int series,int item){
  String url=this.prefix;
  boolean firstParameter=url.indexOf("?") == -1;
  url+=firstParameter ? "?" : "&amp;";
  url+=this.seriesParameterName + "=" + series+ "&amp;"+ this.itemParameterName+ "="+ item;
  return url;
}

@ Override public String generateURL ( XYDataset dataset , int series , int item ) { String url = this . prefix ; boolean firstParameter = url . indexOf ( "?" ) == - 1 ; url += firstParameter ? "?" : "&amp;" ; url += this . seriesParameterName + "=" + series + "&amp;" + this . itemParameterName + "=" + item ; return url ; }
generates a url for a particular item within a series .
