Class WorkbookHandlerFactory
java.lang.Object
chemaxon.formats.documents.jchemexcel.WorkbookHandlerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IWorkbookReader
createWorkbookReader
(InputStream inputStream) Creates an Xlsx document reader object, which will read from the stream given in the inputStream parameterstatic IWorkbookReader
createWorkbookReader
(String filePath) Creates an Xlsx document reader object, which will read from the file given in the filepath parameter.
-
Constructor Details
-
WorkbookHandlerFactory
public WorkbookHandlerFactory()
-
-
Method Details
-
createWorkbookReader
Creates an Xlsx document reader object, which will read from the file given in the filepath parameter.- Parameters:
filePath
- the path of the file from where the xlsx document should be read- Returns:
- the document reader object which implements the IWorkbookReader interface
- Throws:
Exception
-
createWorkbookReader
Creates an Xlsx document reader object, which will read from the stream given in the inputStream parameter- Parameters:
inputStream
- the input stream from where the document should be read- Returns:
- the document reader object which implements the IWorkbookReader interface
- Throws:
Exception
-