bad.robot.excel.matchers
Enum CellType
java.lang.Object
java.lang.Enum<CellType>
bad.robot.excel.matchers.CellType
- All Implemented Interfaces:
- CellAdapter, Serializable, Comparable<CellType>
public enum CellType
- extends Enum<CellType>
- implements CellAdapter
Method Summary |
static Cell |
adaptPoi(org.apache.poi.ss.usermodel.Cell cell)
|
static CellType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CellType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Boolean
public static final CellType Boolean
Error
public static final CellType Error
Formula
public static final CellType Formula
Numeric
public static final CellType Numeric
String
public static final CellType String
Blank
public static final CellType Blank
values
public static CellType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CellType c : CellType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CellType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
adaptPoi
public static Cell adaptPoi(org.apache.poi.ss.usermodel.Cell cell)
Copyright © 2013. All Rights Reserved.