private static String readTextDate(final Reader r) throws IOException {
  final BufferedReader br=new BufferedReader(r);
  StringBuilder textData=new StringBuilder();
  String line=br.readLine();
  while (line != null) {
    textData.append(line);
    line=br.readLine();
  }
  br.close();
  return textData.toString();
}

private static String readTextDate ( final Reader r ) throws IOException { final BufferedReader br = new BufferedReader ( r ) ; StringBuilder textData = new StringBuilder ( ) ; String line = br . readLine ( ) ; while ( line != null ) { textData . append ( line ) ; line = br . readLine ( ) ; } br . close ( ) ; return textData . toString ( ) ; }
acquire text data from a reader . < br / > < br / > firefox this will be some html containing an " a " element with the " href " attribute linking to the to the pdf . < br / > < br / > ie a simple one line string containing the url will be returned
