|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ExcelHelper
public class ExcelHelper
Helper class for Excel-related stuff.
| Constructor Summary | |
|---|---|
ExcelHelper()
|
|
| Method Summary | |
|---|---|
static int[] |
getCellLocation(String position)
Returns row/column index based on the provided position string (e.g., A12). |
static String |
getCellPosition(int row,
int col)
Returns the position of the cell. |
static String |
getColumnPosition(int col)
Returns the position letter(s) of the column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExcelHelper()
| Method Detail |
|---|
public static int[] getCellLocation(String position)
throws Exception
position - the position string to parse
Exception - in case of an invalid position stringpublic static String getColumnPosition(int col)
col - the column index of the cell (0-based)
public static String getCellPosition(int row,
int col)
row - the row index of the cell (0-based)col - the column index of the cell (0-based)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||