com.groupdocs.comparison.common

Class Utils



  • public class Utils
    extends Object
    • Field Detail

      • SHOW_MESSAGE_NOT_OFTEN_THAN

        public static final int SHOW_MESSAGE_NOT_OFTEN_THAN
        See Also:
        Constant Field Values
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • areColors

        public static boolean areColors(Object... params)
      • areColorsEquals

        public static boolean areColorsEquals(Object sourceValue,
                              Object targetValue)
      • autoShapeTypeToString

        public static String autoShapeTypeToString(int value)
      • cellBorderTypeToInt

        public static int cellBorderTypeToInt(String value)
      • cellBorderTypeToString

        public static String cellBorderTypeToString(int value)
      • chartLineFormattingTypeToInt

        public static int chartLineFormattingTypeToInt(String value)
      • chartLineFormattingTypeToString

        public static String chartLineFormattingTypeToString(int strikeType)
      • chartTypeToString

        public static String chartTypeToString(int strikeType)
      • closeStreams

        public static void closeStreams(Closeable... streams)

        Close all streams in array of streams

        Parameters:
        streams - streams
      • colorToStringOrToString

        public static String colorToStringOrToString(Object o)
      • compareDoublesWithRounding

        public static int compareDoublesWithRounding(double source,
                                     double target)
      • createDefaultTextStyleOfNote

        public static com.aspose.note.TextStyle createDefaultTextStyleOfNote()
      • fileTypeToWords

        public static int fileTypeToWords(long fileType)
      • fillTypeOfCellsToInt

        public static int fillTypeOfCellsToInt(String value)
      • fillTypeOfCellsToString

        public static String fillTypeOfCellsToString(int value)
      • fillTypeOfSlidesToInt

        public static int fillTypeOfSlidesToInt(String value)
      • fontUnderlineTypeToInt

        public static int fontUnderlineTypeToInt(String value)
      • fontUnderlineTypeToString

        public static String fontUnderlineTypeToString(int value)
      • gradientColorTypeToString

        public static String gradientColorTypeToString(int value)
      • isBoolean

        public static boolean isBoolean(Class clazz)
      • isVoid

        public static boolean isVoid(Class clazz)
      • lineDashStyleToInt

        public static int lineDashStyleToInt(String value)
      • msoLineDashStyleToInt

        public static int msoLineDashStyleToInt(String value)
      • msoLineDashStyleToString

        public static String msoLineDashStyleToString(int value)
      • normalizeMethodName

        public static String normalizeMethodName(Method method)
      • plotEmptyCellsTypeToInt

        public static int plotEmptyCellsTypeToInt(String value)
      • plotEmptyCellsTypeToString

        public static String plotEmptyCellsTypeToString(int strikeType)
      • round

        public static double round(double value)
      • round

        public static double round(double value,
                   int places)
      • saveFormatOfCellsFromString

        public static int saveFormatOfCellsFromString(String name)
      • setNewValueToNormalizedMethod

        public static void setNewValueToNormalizedMethod(Object object,
                                         String normalizedMethodName,
                                         Object value)
      • tableStyleTypeToInt

        public static int tableStyleTypeToInt(String value)
      • tableStyleTypeToString

        public static String tableStyleTypeToString(int value)
      • textNodeTypeToString

        public static String textNodeTypeToString(int value)
      • textStrikeTypeToInt

        public static int textStrikeTypeToInt(String value)
      • textStrikeTypeToString

        public static String textStrikeTypeToString(int strikeType)
      • whiteIfEmptyForAsposeNote

        public static Color whiteIfEmptyForAsposeNote(Color highlight)