Class WorkbookHandlerFactory
- java.lang.Object
-
- chemaxon.formats.documents.jchemexcel.WorkbookHandlerFactory
-
@PublicAPI public class WorkbookHandlerFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description WorkbookHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
createWorkbookReader
public static IWorkbookReader createWorkbookReader(String filePath) throws Exception
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
public static IWorkbookReader createWorkbookReader(InputStream inputStream) throws Exception
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
-
-