Interface PrometheusSheetWorkBook
public interface PrometheusSheetWorkBook
Sheet Service interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault OceanusDataFormatterCreate data formatter.getRangeView(String pName) Obtain a view of the named range.Access an existing Sheet with the given name.booleanIs the WorkBook readOnly?Create a new Sheet with the given name.Create a new Sheet with the given name.voidsaveToStream(OutputStream pOutput) Save the workBook to output stream.
-
Method Details
-
isReadOnly
boolean isReadOnly()Is the WorkBook readOnly?- Returns:
- true/false
-
saveToStream
Save the workBook to output stream.- Parameters:
pOutput- the output stream- Throws:
OceanusException- on error
-
newSheet
Create a new Sheet with the given name.- Parameters:
pName- the name of the new sheet- Returns:
- the new sheet
- Throws:
OceanusException- on error
-
newSheet
Create a new Sheet with the given name.- Parameters:
pName- the name of the new sheetpNumRows- the number of rows to allocatepNumCols- the number of columns to allocate- Returns:
- the new sheet
- Throws:
OceanusException- on error
-
getSheet
Access an existing Sheet with the given name.- Parameters:
pName- the name of the sheet- Returns:
- the sheet (or null if no such sheet)
- Throws:
OceanusException- on error
-
getRangeView
Obtain a view of the named range.- Parameters:
pName- the name of the range- Returns:
- the view of the range
- Throws:
OceanusException- on error
-
createFormatter
Create data formatter.- Returns:
- the new formatter
-