public enum ExcelWorksheetTransUnitProperty extends Enum<ExcelWorksheetTransUnitProperty>
| Enum Constant and Description |
|---|
CELL_REFERENCE |
SHEET_NAME |
| Modifier and Type | Method and Description |
|---|---|
static String |
getColumnIndexFromCellRef(String cellReference)
Returns the Column Index part from the Cell Reference.
|
static int |
getColumnIndexFromColumnRef(String columnReference)
Converts a column reference from ALPHA-26 number format to 0-based base 10.
|
String |
getKeyName() |
static Integer |
getRowNumberFromCellRef(String cellReference)
Returns the Row Number part from the Cell Reference.
|
static ExcelWorksheetTransUnitProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExcelWorksheetTransUnitProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExcelWorksheetTransUnitProperty CELL_REFERENCE
public static final ExcelWorksheetTransUnitProperty SHEET_NAME
public static ExcelWorksheetTransUnitProperty[] values()
for (ExcelWorksheetTransUnitProperty c : ExcelWorksheetTransUnitProperty.values()) System.out.println(c);
public static ExcelWorksheetTransUnitProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getKeyName()
public static String getColumnIndexFromCellRef(String cellReference)
cellReference - a cell reference.public static Integer getRowNumberFromCellRef(String cellReference)
cellReference - a cell reference.public static int getColumnIndexFromColumnRef(String columnReference)
Copyright © 2021. All rights reserved.