![JAR search and dependency download from the Maven repository](/logo.png)
com.github.bingoohuang.excel2beans.annotations.ExcelCell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of excel2javabeans Show documentation
Show all versions of excel2javabeans Show documentation
a little utility to convert excel rows to java beans
package com.github.bingoohuang.excel2beans.annotations;
import java.lang.annotation.*;
/**
* 关联Excel中的单元格。
*/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelCell {
/**
* 单元格索引。例如A5,B12等。
*
* @return 单元格索引
*/
String value() default "";
/**
* 替换单元格中取值的指定内容。例如把XX替换成真实取值。
* 默认值(不设置时)是替换整个单元格取值。
*
* @return 替换内容
*/
String replace() default "";
/**
* 是否是处理表单名称。
*
* @return 是否是处理表单名称
*/
boolean sheetName() default false;
/**
* 单元格一行最大字符数。
*
* @return 最大字符数
*/
int maxLineLen() default 0;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy