Package com.tick42.glue.office.spreadsheets

# Interface Spreadsheets

    public interface Spreadsheets

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Interface | Description
  --- | --- | ---
  `static interface` | `Spreadsheets.StatusSubscriber` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `CompletionStage<Sheet<Map<String,​Object>>>` | `create​(Consumer<SheetOptions.Builder<Map<String,​Object>,​?>> options)` | Creates a new `Sheet` that can later be `opened`.
  `CompletionStage<AsynchronousCloseable>` | `status​(Spreadsheets.StatusSubscriber subscriber)` | Registers a status subscribers.

- ## Method Details

  - ### create

    CompletionStage<Sheet<Map<String,​Object>>> create​(Consumer<SheetOptions.Builder<Map<String,​Object>,​?>> options)
    Creates a new `Sheet` that can later be `opened`.
    Parameters:
      `options` - function that builds sheet options
    Returns:
      stage that will complete when the sheet is created

  - ### status

    CompletionStage<AsynchronousCloseable> status​(Spreadsheets.StatusSubscriber subscriber)
    Registers a status subscribers.

    On registration the subscriber will be called with the current status.

    Parameters:
      `subscriber` - function to be called when status is changed
    Returns:
      stage that will complete when the subscribers is registered