Package nl.bstoi.poiparser.core.util
Class PoiImportExportUtil
- java.lang.Object
-
- nl.bstoi.poiparser.core.util.PoiImportExportUtil
-
public class PoiImportExportUtil extends java.lang.ObjectUsefull class for reading certain excel properties and values
- Author:
- Hylke Stapersma
-
-
Constructor Summary
Constructors Constructor Description PoiImportExportUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>getSheetNames(java.io.File excelFile)Get sheet name from excel filestatic java.util.List<java.lang.String>getSheetNames(java.io.InputStream inputStream)static java.util.List<java.lang.String>readExcelFiles(java.lang.String path)Get excel files from a certain path
-
-
-
Method Detail
-
getSheetNames
public static java.util.List<java.lang.String> getSheetNames(java.io.File excelFile)
Get sheet name from excel file
- Parameters:
excelFile- excel file to read- Returns:
- a list of sheet names
-
getSheetNames
public static java.util.List<java.lang.String> getSheetNames(java.io.InputStream inputStream)
-
readExcelFiles
public static java.util.List<java.lang.String> readExcelFiles(java.lang.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
-
-