private String prepareURL(){
  String str="http://download.finance.yahoo.com/d/quotes.csv?";
  str+="s=";
  for (int i=0; i < symbolList.size(); i++) {
    if (i != 0) {
      str+=",";
    }
    str+=symbolList.get(i);
  }
  str+="&f=";
  for (  String format : parameterList) {
    str+=format;
  }
  str+="&e=.csv";
  return str;
}

private String prepareURL ( ) { String str = "http://download.finance.yahoo.com/d/quotes.csv?" ; str += "s=" ; for ( int i = 0 ; i < symbolList . size ( ) ; i ++ ) { if ( i != 0 ) { str += "," ; } str += symbolList . get ( i ) ; } str += "&f=" ; for ( String format : parameterList ) { str += format ; } str += "&e=.csv" ; return str ; }
prepare url from symbols and parameters . url will be something like : http : / / download . finance . yahoo . com / d / quotes . csv ? s = goog , fb , yhoo & f = sl1vt1 & e = . csv
