![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.ExcelHelper
public class ExcelHelper
Contains helper static functions.
Method Summary | |
---|---|
static java.lang.String |
convertCellIndexToName(int rowIndex,
int columnIndex)
Gets the cell name corresponds to it's row index and column index. |
static int[] |
convertCellNameToIndex(java.lang.String cellName)
Gets the row index and column index of a cell corresponds to it's name. |
static java.lang.String |
convertColumnIndexToName(int columnIndex)
Gets the column name corresponds to the column index. |
static int |
convertColumnNameToIndex(java.lang.String columnName)
Gets the column index corresponds to the column name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int convertColumnNameToIndex(java.lang.String columnName)
columnName
- column name, like "A".
java.lang.IllegalArgumentException
- if the column name is invalid.public static java.lang.String convertColumnIndexToName(int columnIndex)
columnIndex
- column index.
java.lang.IllegalArgumentException
- if the column index is out of range.public static java.lang.String convertCellIndexToName(int rowIndex, int columnIndex)
rowIndex
- row index of the cell.columnIndex
- column index of the cell.
java.lang.IllegalArgumentException
- if any of the indexes is out of range.public static int[] convertCellNameToIndex(java.lang.String cellName)
cellName
- cell name.
java.lang.IllegalArgumentException
- if the cell name is invalid.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |