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> T |
fromJSON(String arg,
Class<T> type) |
static String |
numToAbc(int index)
Converts 0-based index to abc.
|
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 String |
toJSON(Object arg) |
static Range |
toRangeFromJSON(Spreadsheet spreadsheet,
String ref) |
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 Range toRangeFromJSON(Spreadsheet spreadsheet, String ref)
Copyright © 2018. All rights reserved.