Class PrometheusSheetProvider
java.lang.Object
io.github.tonywasher.joceanus.prometheus.service.sheet.PrometheusSheetProvider
SpreadSheet Factory Provider.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrometheusSheetWorkBookloadFromStream(PrometheusSheetWorkBookType pType, InputStream pInput) Load readOnly workBook from inputStream.static PrometheusSheetWorkBookCreate empty workBook.
-
Method Details
-
loadFromStream
public static PrometheusSheetWorkBook loadFromStream(PrometheusSheetWorkBookType pType, InputStream pInput) throws OceanusException Load readOnly workBook from inputStream.- Parameters:
pType- the workBook typepInput- the input stream- Returns:
- the loaded workBook
- Throws:
OceanusException- on error
-
newWorkBook
public static PrometheusSheetWorkBook newWorkBook(PrometheusSheetWorkBookType pType) throws OceanusException Create empty workBook.- Parameters:
pType- the workBook type- Returns:
- the new workBook
- Throws:
OceanusException- on error
-