com.wuwenze.poi.util
类 POIUtil
java.lang.Object
com.wuwenze.poi.util.POIUtil
public class POIUtil
- extends Object
- 作者:
- wuwenze
|
方法摘要 |
static void |
checkExcelFile(File file)
|
static Object |
convertByExp(Object propertyValue,
String converterExp)
|
static int |
countNullCell(String ref,
String ref2)
|
static void |
download(org.apache.poi.xssf.streaming.SXSSFWorkbook wb,
javax.servlet.http.HttpServletResponse response,
String filename)
|
static org.apache.poi.xssf.streaming.SXSSFCell |
newSXSSFCell(org.apache.poi.xssf.streaming.SXSSFRow row,
int index)
|
static org.apache.poi.xssf.streaming.SXSSFRow |
newSXSSFRow(org.apache.poi.xssf.streaming.SXSSFSheet sheet,
int index)
|
static org.apache.poi.xssf.streaming.SXSSFSheet |
newSXSSFSheet(org.apache.poi.xssf.streaming.SXSSFWorkbook wb,
String sheetName)
|
static org.apache.poi.xssf.streaming.SXSSFWorkbook |
newSXSSFWorkbook()
|
static void |
setColumnCellRange(org.apache.poi.xssf.streaming.SXSSFSheet sheet,
Options options,
int firstRow,
int endRow,
int firstCell,
int endCell)
|
static void |
setColumnWidth(org.apache.poi.xssf.streaming.SXSSFSheet sheet,
int index,
Short width,
String value)
|
static void |
write(org.apache.poi.xssf.streaming.SXSSFWorkbook wb,
OutputStream out)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POIUtil
public POIUtil()
newSXSSFWorkbook
public static org.apache.poi.xssf.streaming.SXSSFWorkbook newSXSSFWorkbook()
newSXSSFSheet
public static org.apache.poi.xssf.streaming.SXSSFSheet newSXSSFSheet(org.apache.poi.xssf.streaming.SXSSFWorkbook wb,
String sheetName)
newSXSSFRow
public static org.apache.poi.xssf.streaming.SXSSFRow newSXSSFRow(org.apache.poi.xssf.streaming.SXSSFSheet sheet,
int index)
newSXSSFCell
public static org.apache.poi.xssf.streaming.SXSSFCell newSXSSFCell(org.apache.poi.xssf.streaming.SXSSFRow row,
int index)
setColumnWidth
public static void setColumnWidth(org.apache.poi.xssf.streaming.SXSSFSheet sheet,
int index,
Short width,
String value)
setColumnCellRange
public static void setColumnCellRange(org.apache.poi.xssf.streaming.SXSSFSheet sheet,
Options options,
int firstRow,
int endRow,
int firstCell,
int endCell)
write
public static void write(org.apache.poi.xssf.streaming.SXSSFWorkbook wb,
OutputStream out)
download
public static void download(org.apache.poi.xssf.streaming.SXSSFWorkbook wb,
javax.servlet.http.HttpServletResponse response,
String filename)
convertByExp
public static Object convertByExp(Object propertyValue,
String converterExp)
throws Exception
- 抛出:
Exception
countNullCell
public static int countNullCell(String ref,
String ref2)
checkExcelFile
public static void checkExcelFile(File file)
Copyright © 2019. All rights reserved.