public enum ExcelWorksheetTransUnitProperty extends java.lang.Enum<ExcelWorksheetTransUnitProperty>
Enum Constant and Description |
---|
CELL_REFERENCE |
SHEET_NAME |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getColumnIndexFromCellRef(java.lang.String cellReference)
Returns the Column Index part from the Cell Reference.
|
static int |
getColumnIndexFromColumnRef(java.lang.String columnReference)
Converts a column reference from ALPHA-26 number format to 0-based base 10.
|
java.lang.String |
getKeyName() |
static java.lang.Integer |
getRowNumberFromCellRef(java.lang.String cellReference)
Returns the Row Number part from the Cell Reference.
|
static ExcelWorksheetTransUnitProperty |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKeyName()
public static java.lang.String getColumnIndexFromCellRef(java.lang.String cellReference)
cellReference
- a cell reference.public static java.lang.Integer getRowNumberFromCellRef(java.lang.String cellReference)
cellReference
- a cell reference.public static int getColumnIndexFromColumnRef(java.lang.String columnReference)
Copyright © 2022. All rights reserved.