public class WorkbookHandlerFactory extends Object
Constructor and Description |
---|
WorkbookHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
static IWorkbookReader |
createWorkbookReader(InputStream inputStream)
Creates an Xlsx document reader object, which will read from the stream given in the
inputStream parameter
|
static IWorkbookReader |
createWorkbookReader(String filePath)
Creates an Xlsx document reader object, which will read from the file given in the filepath
parameter.
|
public static IWorkbookReader createWorkbookReader(String filePath) throws Exception
filePath
- the path of the file from where the xlsx document should be readException
public static IWorkbookReader createWorkbookReader(InputStream inputStream) throws Exception
inputStream
- the input stream from where the document should be readException