public final class Converter extends Object
Constructor and Description |
---|
Converter() |
Modifier and Type | Method and Description |
---|---|
static Ref |
a1ToRef(String a1notation) |
static int |
abcToNum(String val)
Converts abc to number.
|
static Ref |
areaToRef(int row,
int column,
int lastRow,
int lastColumn) |
static <T> List<T> |
asList(T... ary) |
static Map |
asMap(Object... args) |
static <T> T |
getFirst(T... args) |
static <T> T |
getLast(T... args) |
static String |
numToAbc(int index)
Converts 0-based index to abc.
|
static int |
ptToPx(Number pt) |
static String |
rangeToA1(int row,
int column)
Converts a range to A1 notation.
|
static Ref |
rangeToRef(int row,
int column) |
static String |
refToA1(Ref ref) |
static List<Ref> |
toRefs(String refs) |
static List<Ref> |
toRefs(String refs,
String separator) |
public static String numToAbc(int index)
index
- 0-based.public static String rangeToA1(int row, int column)
public static Ref rangeToRef(int row, int column)
public static Ref areaToRef(int row, int column, int lastRow, int lastColumn)
public static int abcToNum(String val)
val
- public static final <T> List<T> asList(T... ary)
public static int ptToPx(Number pt)
public static <T> T getFirst(T... args)
public static <T> T getLast(T... args)
Copyright © 2020. All rights reserved.