Package com.xxl.tool.excel.annotation
Annotation Interface ExcelField
sheet cell info
支持Java对象数据类型:Boolean、String、Short、Integer、Long、Float、Double、Date
支持Excel的Cell类型为:String
- Author:
- xuxueli 2017-09-08 20:22:41
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionorg.apache.poi.ss.usermodel.HorizontalAlignmentcell aligncell value format, for Datebooleanignore when excel write and read (default false)cell name (defult use field-name)intcell width (effect when great than 0; default auto width;)
-
Element Details
-
name
String namecell name (defult use field-name)- Returns:
- String
- Default:
- ""
-
width
int widthcell width (effect when great than 0; default auto width;)- Returns:
- int
- Default:
- 0
-
align
org.apache.poi.ss.usermodel.HorizontalAlignment aligncell align- Returns:
- HorizontalAlignment
- Default:
- LEFT
-
dateformat
String dateformatcell value format, for Date- Returns:
- String
- Default:
- "yyyy-MM-dd HH:mm:ss"
-
ignore
boolean ignoreignore when excel write and read (default false)- Returns:
- Default:
- false
-