Package com.tick42.glue.internal.excel
Class ExcelPad
java.lang.Object
com.tick42.glue.internal.excel.ExcelPad
- All Implemented Interfaces:
Spreadsheets
public class ExcelPad extends Object implements Spreadsheets
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tick42.glue.office.spreadsheets.Spreadsheets
Spreadsheets.StatusSubscriber -
Constructor Summary
-
Method Summary
Modifier and Type Method Description CompletionStage<Sheet<Map<String,Object>>>create(Consumer<SheetOptions.Builder<Map<String,Object>,?>> options)voidstart()CompletionStage<AsynchronousCloseable>status(Spreadsheets.StatusSubscriber subscriber)Registers a status subscribers.
-
Constructor Details
-
ExcelPad
-
-
Method Details
-
start
public void start() -
create
public CompletionStage<Sheet<Map<String,Object>>> create(Consumer<SheetOptions.Builder<Map<String,Object>,?>> options)Description copied from interface:Spreadsheets- Specified by:
createin interfaceSpreadsheets- Parameters:
options- function that builds sheet options- Returns:
- stage that will complete when the sheet is created
-
status
Description copied from interface:SpreadsheetsRegisters a status subscribers.On registration the subscriber will be called with the current status.
- Specified by:
statusin interfaceSpreadsheets- Parameters:
subscriber- function to be called when status is changed- Returns:
- stage that will complete when the subscribers is registered
-