类 WorkBookUtil

java.lang.Object
com.sh.wf.excel.util.WorkBookUtil

public class WorkBookUtil extends Object
  • 方法概要

    修饰符和类型
    方法
    说明
    static org.apache.poi.ss.usermodel.Cell
    createCell(org.apache.poi.ss.usermodel.Row row, int colNum)
     
    static org.apache.poi.ss.usermodel.Cell
    createCell(org.apache.poi.ss.usermodel.Row row, int colNum, String cellValue)
     
    static org.apache.poi.ss.usermodel.Cell
    createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle)
     
    static org.apache.poi.ss.usermodel.Cell
    createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle, String cellValue)
     
    static org.apache.poi.ss.usermodel.Row
    createRow(org.apache.poi.ss.usermodel.Sheet sheet, int rowNum)
     
    static org.apache.poi.ss.usermodel.Sheet
    createSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName)
     
    static void
    createWorkBook(WriteWorkbookHolder writeWorkbookHolder)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • createWorkBook

      public static void createWorkBook(WriteWorkbookHolder writeWorkbookHolder) throws IOException
      抛出:
      IOException
    • createSheet

      public static org.apache.poi.ss.usermodel.Sheet createSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName)
    • createRow

      public static org.apache.poi.ss.usermodel.Row createRow(org.apache.poi.ss.usermodel.Sheet sheet, int rowNum)
    • createCell

      public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum)
    • createCell

      public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle)
    • createCell

      public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle, String cellValue)
    • createCell

      public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum, String cellValue)