Class ConfigHelper


  • public class ConfigHelper
    extends Object
    • Constructor Detail

      • ConfigHelper

        public ConfigHelper()
    • Method Detail

      • getSystemPropertyAsInt

        public static int getSystemPropertyAsInt​(String name,
                                                 int defaultValue)
      • getSystemPropertyAsString

        public static String getSystemPropertyAsString​(String name,
                                                       String defaultValue)
      • getSystemPropertyAsBoolean

        public static boolean getSystemPropertyAsBoolean​(String name,
                                                         boolean defaultValue)
      • getSystemPropertyAsStringList

        public static List<String> getSystemPropertyAsStringList​(String name,
                                                                 String defaultValue,
                                                                 char separator)
        white space at the start/end of the string or at the start/end of the parts delimited by separator are trimmed