Package io.keikai.axyra.sheets
Class ImportOptions.Builder
java.lang.Object
io.keikai.axyra.sheets.ImportOptions.Builder
- Enclosing class:
- ImportOptions
Fluent builder for
ImportOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theImportOptions.columnLabels(String... columnLabels) Sets the header texts, one per imported column;nulluses the property names.Imports only these properties, in this order.headers(boolean headers) Writes a header row above the data whentrue(defaulttrue).headerStyle(CellStyle headerStyle) Sets the style that replaces the header cells' style;nullleaves it unchanged.
-
Method Details
-
columns
Imports only these properties, in this order. AMaprow's properties are its keys.nullimports every property. -
headers
Writes a header row above the data whentrue(defaulttrue). -
columnLabels
Sets the header texts, one per imported column;nulluses the property names. -
headerStyle
Sets the style that replaces the header cells' style;nullleaves it unchanged. -
build
Builds theImportOptions. The arrays are stored as given, not copied.
-