public class PoiCssUtils extends Object
Constructor and Description |
---|
PoiCssUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
calcColorValue(String color) |
static int |
getInt(String strValue)
get int value of string
|
static boolean |
isNum(String strValue)
check number string
|
static org.apache.poi.hssf.util.HSSFColor |
parseColor(org.apache.poi.hssf.usermodel.HSSFWorkbook workBook,
String color)
parse color
|
static org.apache.poi.xssf.usermodel.XSSFColor |
parseColor(String color) |
static String |
processColor(String color)
process color
|
public static int getInt(String strValue)
strValue
- string valuepublic static boolean isNum(String strValue)
strValue
- stringpublic static String processColor(String color)
color
- color to processpublic static org.apache.poi.hssf.util.HSSFColor parseColor(org.apache.poi.hssf.usermodel.HSSFWorkbook workBook, String color)
workBook
- work bookcolor
- string colorpublic static org.apache.poi.xssf.usermodel.XSSFColor parseColor(String color)
public static int calcColorValue(String color)
Copyright © 2018 Lumer. All rights reserved.