| Package | Description |
|---|---|
| com.poiji.option |
| Modifier and Type | Method and Description |
|---|---|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.addListDelimiter(String delimiter)
Use different delimiter to split the list of items of a cell
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.caseInsensitive(boolean caseInsensitive)
Permits case insensitive column names mapping for annotation
ExcelCellName. |
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.dateFormatter(DateTimeFormatter dateFormatter)
set a date formatter, default date time formatter is "dd/M/yyyy"
for java.time.LocalDate
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.dateLenient(boolean dateLenient)
If the simple date format is lenient, use to
set how strict the date formatting must be, defaults to lenient false.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.datePattern(String datePattern)
set date pattern, default date format is "dd/M/yyyy" for
java.util.Date
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.dateRegex(String dateRegex)
Date regex, if would like to specify a regex patter the date must be
in, e.g.\\d{2}/\\d{1}/\\d{4}.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.dateTimeFormatter(DateTimeFormatter dateTimeFormatter)
set a date time formatter, default date time formatter is "dd/M/yyyy HH:mm:ss"
for java.time.LocalDateTime
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.dateTimeRegex(String dateTimeRegex)
DateTime regex, if would like to specify a regex patter the date time must be
in, e.g.\\d{2}/\\d{1}/\\d{4} \\d{2}:\\d{2}:\\d{2}.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.disableXLSXNumberCellFormat()
Disable the cell format of all the number cells of an excel file ending with xlsx
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.headerCount(int headerCount)
This is to set the number of row contains headers
Set 0 to indicate that no header in the excel file. |
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.headerStart(int headerStart)
This is to set the row which the unmarshall will
use to start reading header titles, incase the
header is not in row 0.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.ignoreHiddenSheets(boolean ignoreHiddenSheets)
Ignore hidden sheets
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.ignoreWhitespaces(boolean ignoreWhitespaces)
Ignore white space before and after column names for annotation
ExcelCellName. |
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.limit(int limit)
limit a number of rows after the header & skipped rows row.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.namedHeaderMandatory(boolean namedHeaderMandatory)
Set true if all headers named in
ExcelCellName are mandatory, otherwise false |
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.password(String password)
set password for encrypted excel file, Default is null
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.poijiLogCellFormat(PoijiLogCellFormat cellFormat)
Add cell format option to see each internal cell's excel format for files ending with xlsx format.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.poijiNumberFormat(PoijiNumberFormat numberFormat)
Change the default cell formats of a xlsx excel file by overriding
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.preferNullOverDefault(boolean preferNullOverDefault)
set whether or not to use null instead of default values for Integer,
Double, Float, Long, String and java.util.Date types.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.setLocale(Locale locale)
Set the
Locale used by Apache Poi and PoiJ. |
static PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.settings() |
static PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.settings(int skip)
Skip a number of rows after the header row.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.sheetIndex(int sheetIndex)
set sheet index, default is 0
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.sheetName(String sheetName)
Set the sheet Name
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.skip(int skip)
skip a number of rows after the header row.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.trimCellValue(boolean trimCellValue)
Trim cell value
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.withCasting(Casting casting)
Use a custom casting implementation
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.withFormatting(Formatting formatting)
Use a custom excel header format implementation
|
Copyright © 2017–2020. All rights reserved.