Package nl.bstoi.poiparser.core.util
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 Summary
Constructors Constructor Description PoiImportExportUtil() -
Method Summary
Modifier and Type Method Description static List<String>getSheetNames(File excelFile)Get sheet name from excel filestatic List<String>getSheetNames(InputStream inputStream)static List<String>readExcelFiles(String path)Get excel files from a certain path
-
Constructor Details
-
PoiImportExportUtil
public PoiImportExportUtil()
-
-
Method Details
-
getSheetNames
Get sheet name from excel file
- Parameters:
excelFile- excel file to read- Returns:
- a list of sheet names
-
getSheetNames
-
readExcelFiles
Get excel files from a certain path
- Parameters:
path- list excel files on specific path- Returns:
- list of file names on a path
-