Package com.poiji.util
Class AnnotationUtil
- java.lang.Object
-
- com.poiji.util.AnnotationUtil
-
public final class AnnotationUtil extends Object
Created by hakan on 2.05.2020
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> voidvalidateMandatoryNameColumns(PoijiOptions options, Formatting formatting, Class<T> modelType, Collection<String> headerNames)Validate that all headers specified via @ExcelCellName annotations are present in the list of header names.
-
-
-
Method Detail
-
validateMandatoryNameColumns
public static <T> void validateMandatoryNameColumns(PoijiOptions options, Formatting formatting, Class<T> modelType, Collection<String> headerNames)
Validate that all headers specified via @ExcelCellName annotations are present in the list of header names.Validation is only performed if it is set in the PoijiOptions
- Throws:
HeaderMissingException- if one or more headers are missing
-
-