private String getPDFContent(URL url) throws Exception
{
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
InputStream is = connection.getInputStream();
PDDocument pdd = PDDocument.load(is);
PDFText2HTML stripper = new PDFText2HTML("UTF-8");
String text = stripper.getText(pdd);
pdd.close();
is.close();
return text;
}