public String getData( String urlString ) throws IOException {
        URL url = new URL( urlString );
        URLConnection yc = url.openConnection();
        BufferedReader in = new BufferedReader( new InputStreamReader( yc.getInputStream() ) );
        StringBuilder inputLine = new StringBuilder();
        String line;
        
        while ( true ) {
            if( ( line = in.readLine() ) != null ) {
                inputLine.append( line );
            }
            else {
                break;
            }
        }
        in.close();
        return inputLine.toString();
    }