public class Sheet extends Object
| Constructor and Description |
|---|
Sheet(jxl.write.WritableWorkbook workbook,
String sheetName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(String columnName,
int width)
添加列
|
void |
addColumnName(String... columnNames) |
Row |
addRow() |
int |
getColumns() |
public Sheet(jxl.write.WritableWorkbook workbook,
String sheetName)
public void addColumnName(String... columnNames) throws jxl.write.WriteException
jxl.write.WriteExceptionpublic void addColumn(String columnName, int width) throws jxl.write.WriteException
columnName - 列名width - 宽度,最大255jxl.write.WriteExceptionpublic Row addRow()
public int getColumns()
Copyright © 2018–2020. All rights reserved.