_log.error(e.getMessage());
}
}
else if (fileExt.equals(".pdf")) {
try {
PDFParser parser = new PDFParser(fis);
parser.parse();
PDDocument pdDoc= parser.getPDDocument();
StringWriter stringWriter = new StringWriter();
PDFTextStripper stripper = new PDFTextStripper();
stripper.setLineSeparator("\n");