if (s != null) data.add(s);
  public static Vector getDataFromURL(String URLString) throws Exception {    URL url = new URL(URLString);    URLConnection connection = url.openConnection();    connection.setDoInput(true);    connection.setDoOutput(true);    InputStream is = connection.getInputStream();    BufferedReader r =      new BufferedReader(new InputStreamReader(is));    Vector data = new Vector();    String s = r.readLine();    while (s != null) {      s = r.readLine();      if (s != null)        data.add(s);    }    return data;  }