public final class AnnotationUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
validateMandatoryNameColumns(PoijiOptions options,
Formatting formatting,
Class<T> modelType,
Map<String,Integer> titleToIndex,
Map<Integer,String> indexToTitle)
Validate that all headers specified via @ExcelCellName annotations are present in the list of header names.
|
public static <T> void validateMandatoryNameColumns(PoijiOptions options, Formatting formatting, Class<T> modelType, Map<String,Integer> titleToIndex, Map<Integer,String> indexToTitle)
Validation is only performed if it is set in the PoijiOptions
HeaderMissingException - if one or more headers are missingCopyright © 2017–2021. All rights reserved.