| Package | Description |
|---|---|
| com.poiji.option |
| Modifier and Type | Method and Description |
|---|---|
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.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.limit(int limit)
limit a number of rows after the header & skipped rows row.
|
PoijiOptions.PoijiOptionsBuilder |
PoijiOptions.PoijiOptionsBuilder.password(String password)
set password for encrypted excel file, Default is null
|
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.
|
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
|
Copyright © 2017–2020. All rights reserved.