Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- InputStream excelFile = new FileInputStream(excel);
- XSSFWorkbook workbook =new XSSFWorkbook(excelFile);
- if(excelFile!=null){
- excelFile.close();
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
Add Comment
Please, Sign In to add comment