Class PoiImportExportUtil

java.lang.Object
nl.bstoi.poiparser.core.util.PoiImportExportUtil

public class PoiImportExportUtil
extends Object

Usefull class for reading certain excel properties and values

Author:
Hylke Stapersma
  • Constructor Details

    • PoiImportExportUtil

      public PoiImportExportUtil()
  • Method Details

    • getSheetNames

      public static List<String> getSheetNames​(File excelFile)

      Get sheet name from excel file

      Parameters:
      excelFile - excel file to read
      Returns:
      a list of sheet names
    • getSheetNames

      public static List<String> getSheetNames​(InputStream inputStream)
    • readExcelFiles

      public static List<String> readExcelFiles​(String path)

      Get excel files from a certain path

      Parameters:
      path - list excel files on specific path
      Returns:
      list of file names on a path