public class Workbook.Sheet
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Workbook.Sheet |
addRow(java.lang.Iterable<?> cells)
Adds a new row to the sheet with cell values provided by an Iterable.
|
Workbook.Sheet |
addRow(java.lang.Object... cells)
Adds a new row to the sheet with the specified cell values.
|
public Workbook.Sheet addRow(java.lang.Iterable<?> cells)
cells
- an iterable of cell values; null values result in empty cellsWorkbook.Sheet
instancejava.lang.Exception
- if the maximum row or column count is exceeded, or if workbook is closedpublic Workbook.Sheet addRow(java.lang.Object... cells)
cells
- the cell values to add; null values will result in empty cellsWorkbook.Sheet
instancejava.lang.Exception
- if the maximum row or column count is exceeded, or if workbook is closedCopyright © 2017, 2025, Oracle and/or its affiliates. All rights reserved.