Class StaxUtil
- java.lang.Object
-
- org.pentaho.di.trans.steps.excelinput.staxpoi.StaxUtil
-
public class StaxUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_COLUMNS
static int
MAX_ROWS
-
Constructor Summary
Constructors Constructor Description StaxUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
extractColumnNumber(String position)
static int
extractRowNumber(String position)
static int
parseColumnNumber(String columnIndicator)
Convert the column indicator in Excel like A, B, C, AE, CX and so on to a 1-based column number.
-
-
-
Method Detail
-
extractRowNumber
public static int extractRowNumber(String position)
-
extractColumnNumber
public static int extractColumnNumber(String position)
-
parseColumnNumber
public static final int parseColumnNumber(String columnIndicator)
Convert the column indicator in Excel like A, B, C, AE, CX and so on to a 1-based column number.- Parameters:
columnIndicator
- The indicator to convert- Returns:
- The 1-based column number
-
-