Interface MultiSheetSpreadSheetWriter

    • Method Detail

      • canWriteMultiple

        boolean canWriteMultiple()
        Returns whether the writer supports writing multiple sheets.
        Returns:
        true if it can write multiple sheets
      • write

        boolean write​(SpreadSheet[] content,
                      File file)
        Writes the spreadsheets to the specified file.
        Parameters:
        content - the content to write
        file - the file to write to
        Returns:
        true if successfully written
      • write

        boolean write​(SpreadSheet[] content,
                      String filename)
        Writes the spreadsheets to the given file.
        Parameters:
        content - the spreadsheet to write
        filename - the file to write the spreadsheet to
        Returns:
        true if successfully written
      • write

        boolean write​(SpreadSheet[] content,
                      OutputStream stream)
        Writes the spreadsheets to the given output stream. The caller must ensure that the stream gets closed.
        Parameters:
        content - the spreadsheet to write
        stream - the output stream to write the spreadsheet to
        Returns:
        true if successfully written
      • write

        boolean write​(SpreadSheet[] content,
                      Writer writer)
        Writes the spreadsheets to the given writer. The caller must ensure that the writer gets closed.
        Parameters:
        content - the spreadsheet to write
        writer - the writer to write the spreadsheet to
        Returns:
        true if successfully written