public class Utils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Utils.IForEachMethodCallback |
Modifier and Type | Field and Description |
---|---|
static int |
SHOW_MESSAGE_NOT_OFTEN_THAN |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areColors(Object... params) |
static boolean |
areColorsEquals(Object sourceValue,
Object targetValue) |
static String |
autoShapeTypeToString(int value) |
static int |
cellBorderTypeToInt(String value) |
static String |
cellBorderTypeToString(int value) |
static int |
chartLineFormattingTypeToInt(String value) |
static String |
chartLineFormattingTypeToString(int strikeType) |
static String |
chartTypeToString(int strikeType) |
static void |
closeStreams(Closeable... streams)
Close all streams in array of streams
|
static String |
colorToStringOrToString(Object o) |
static int |
compareDoublesWithRounding(double source,
double target) |
static com.aspose.note.TextStyle |
createDefaultTextStyleOfNote() |
static int |
fileTypeToWords(long fileType) |
static int |
fillTypeOfCellsToInt(String value) |
static String |
fillTypeOfCellsToString(int value) |
static int |
fillTypeOfSlidesToInt(String value) |
static int |
fontUnderlineTypeToInt(String value) |
static String |
fontUnderlineTypeToString(int value) |
static void |
forEachMethod(boolean callForGetters,
Object o,
Utils.IForEachMethodCallback callback) |
static String |
gradientColorTypeToString(int value) |
static boolean |
isBoolean(Class clazz) |
static boolean |
isVoid(Class clazz) |
static int |
lineDashStyleToInt(String value) |
static int |
msoLineDashStyleToInt(String value) |
static String |
msoLineDashStyleToString(int value) |
static String |
normalizeMethodName(Method method) |
static int |
plotEmptyCellsTypeToInt(String value) |
static String |
plotEmptyCellsTypeToString(int strikeType) |
static double |
round(double value) |
static double |
round(double value,
int places) |
static int |
saveFormatOfCellsFromString(String name) |
static void |
setNewValueToNormalizedMethod(Object object,
String normalizedMethodName,
Object value) |
static int |
tableStyleTypeToInt(String value) |
static String |
tableStyleTypeToString(int value) |
static String |
textNodeTypeToString(int value) |
static int |
textStrikeTypeToInt(String value) |
static String |
textStrikeTypeToString(int strikeType) |
static Color |
whiteIfEmptyForAsposeNote(Color highlight) |
public static final int SHOW_MESSAGE_NOT_OFTEN_THAN
public static boolean areColors(Object... params)
public static String autoShapeTypeToString(int value)
public static int cellBorderTypeToInt(String value)
public static String cellBorderTypeToString(int value)
public static int chartLineFormattingTypeToInt(String value)
public static String chartLineFormattingTypeToString(int strikeType)
public static String chartTypeToString(int strikeType)
public static void closeStreams(Closeable... streams)
Close all streams in array of streams
streams
- streamspublic static int compareDoublesWithRounding(double source, double target)
public static com.aspose.note.TextStyle createDefaultTextStyleOfNote()
public static int fileTypeToWords(long fileType)
public static int fillTypeOfCellsToInt(String value)
public static String fillTypeOfCellsToString(int value)
public static int fillTypeOfSlidesToInt(String value)
public static int fontUnderlineTypeToInt(String value)
public static String fontUnderlineTypeToString(int value)
public static void forEachMethod(boolean callForGetters, Object o, Utils.IForEachMethodCallback callback)
public static String gradientColorTypeToString(int value)
public static boolean isBoolean(Class clazz)
public static boolean isVoid(Class clazz)
public static int lineDashStyleToInt(String value)
public static int msoLineDashStyleToInt(String value)
public static String msoLineDashStyleToString(int value)
public static int plotEmptyCellsTypeToInt(String value)
public static String plotEmptyCellsTypeToString(int strikeType)
public static double round(double value)
public static double round(double value, int places)
public static int saveFormatOfCellsFromString(String name)
public static void setNewValueToNormalizedMethod(Object object, String normalizedMethodName, Object value)
public static int tableStyleTypeToInt(String value)
public static String tableStyleTypeToString(int value)
public static String textNodeTypeToString(int value)
public static int textStrikeTypeToInt(String value)
public static String textStrikeTypeToString(int strikeType)
Copyright © 2020. All rights reserved.