关闭

POI操作官网API

331人阅读 评论(0) 收藏 举报
分类:

http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/

http://poi.apache.org/apidocs/org/apache/poi/ss/util/CellRangeAddress.html

http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFSheet.html

http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Row.html#createCell(int)

Cell createCell(int column)
Use this to create new cells within the row and return it.

The cell that is returned is a Cell.CELL_TYPE_BLANK. The type can be changed either through calling setCellValue or setCellType.

Parameters:
column - - the column number this cell represents
Returns:
Cell a high level representation of the created cell.
Throws:
java.lang.IllegalArgumentException - if columnIndex < 0 or greater than the maximum number of supported columns (255 for *.xls, 1048576 for *.xlsx)

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:359258次
    • 积分:4786
    • 等级:
    • 排名:第6041名
    • 原创:63篇
    • 转载:398篇
    • 译文:0篇
    • 评论:22条
    最新评论