final ByteArrayOutputStream bos = new ByteArrayOutputStream();
final FormUtility form = new FormUtility(bos, null);
form.add("appid", "YahooDemo");
form.add("results", "100");
form.add("query", searchFor);
form.complete();
final URL url = new URL(
"http://search.yahooapis.com/WebSearchService/V1/webSearch?"
+ bos.toString());
bos.close();