public interface Formatter<T>
| Modifier and Type | Method and Description |
|---|---|
String |
format(T t)
Format data from T to String when exporting
|
T |
parse(String str)
Read String type data from excel and get T when importing
If data is not valid,then throw ParseException.It will catch in return value of @{#
CheckedSheetReader} |
String format(T t)
t - your data objectT parse(String str) throws ParseException
CheckedSheetReader}str - string value from excelParseException - when failed or is invalid dataCheckedSheetReader,
CheckedDataCopyright © 2019. All rights reserved.