bad.robot.excel.matchers
Enum CellType

java.lang.Object
  extended by java.lang.Enum<CellType>
      extended by bad.robot.excel.matchers.CellType
All Implemented Interfaces:
CellAdapter, Serializable, Comparable<CellType>

public enum CellType
extends Enum<CellType>
implements CellAdapter


Enum Constant Summary
Blank
           
Boolean
           
Error
           
Formula
           
Numeric
           
String
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface bad.robot.excel.matchers.CellAdapter
adapt
 

Enum Constant Detail

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
Method Detail

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 © 2012. All Rights Reserved.