java - poi部分方法过时
迷茫
迷茫 2017-04-18 10:43:41
0
2
696
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

全部回复(2)
阿神
 /**
     * Return the cell type.
     * 
     * Will return {@link CellType} in version 4.0 of POI.
     * For forwards compatibility, do not hard-code cell type literals in your code.
     *
     * @return the cell type
     * @deprecated POI 3.15. Will return a {@link CellType} enum in the future.
     */
    int getCellType();
    
    

注释说未来会提供,没提供代替方法标过时,这种做法是有点奇葩

左手右手慢动作

名字改成了:getCellType

官方文档:https://poi.apache.org/apidoc...

文档说:返回 int 的在 4.0 版本后将要替换成返回 CellType,但是名字还是 getCellType

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板