InputStream instream = entity.obtainContent();
try {
parser.parse(instream, parallelHandler, metadata);
return new ParseImpl(data.toString(), extractor.getLinks());
} catch (SAXException ex) {
throw new DroidsException("Failure parsing document " + link.getId(), ex);
} catch (TikaException ex) {
throw new DroidsException("Failure parsing document " + link.getId(), ex);
} finally {