public final class OptionalEnumCellCoercer<ENUM extends Enum<ENUM>> extends TypeBasedCellValueCoercer<ENUM> implements CellValueCoercer<ENUM>
CannotCoerceException. Empty cells return
null.| Modifier and Type | Method and Description |
|---|---|
protected ENUM |
coerceBlankCell(org.apache.poi.ss.usermodel.Cell cell) |
protected ENUM |
coerceStringCell(org.apache.poi.ss.usermodel.Cell cell) |
static <E extends Enum<E>> |
forEnum(Class<E> enumType) |
coerce, coerceBooleanCell, coerceFormulaCell, coerceNumericCell, liberallyParseInt, roundclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcoercepublic static <E extends Enum<E>> OptionalEnumCellCoercer<E> forEnum(@NotNull Class<E> enumType)
protected ENUM coerceStringCell(org.apache.poi.ss.usermodel.Cell cell)
coerceStringCell in class TypeBasedCellValueCoercer<ENUM extends Enum<ENUM>>TypeBasedCellValueCoercer.coerceStringCell(org.apache.poi.ss.usermodel.Cell)protected ENUM coerceBlankCell(org.apache.poi.ss.usermodel.Cell cell)
coerceBlankCell in class TypeBasedCellValueCoercer<ENUM extends Enum<ENUM>>TypeBasedCellValueCoercer.coerceBlankCell(org.apache.poi.ss.usermodel.Cell)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.