Class ConfigurationHelper


  • public final class ConfigurationHelper
    extends Object
    Helper class for configurations.
    Author:
    Danny Roest (dannyroest@gmail.com)
    • Constructor Detail

      • ConfigurationHelper

        private ConfigurationHelper()
    • Method Detail

      • listToStringEmptyStringAllowed

        public static String listToStringEmptyStringAllowed​(List<String> items)
        Parameters:
        items - The items to be added to the string.
        Returns:
        string representation of list. format: a, b, , c. Empty String allowed
      • listToString

        public static String listToString​(List<?> items)
        Parameters:
        items - The items to be added to the string.
        Returns:
        string representation of list. format: a, b, c
      • booleanToInt

        public static int booleanToInt​(boolean value)
        Parameters:
        value - The value to be converted
        Returns:
        int value of boolean, true=1 false=0