/** * Gets the Integer Array of values of the given property name * * @param name the property name * @param required whether the property is required * @return the integer Array * @throws ConfigurationException if the required property is not found */ public static int[] getIntegerArray(String name, boolean required) throws ConfigurationException { validateName(name); return config.getIntegerArray(name, required); }
/** * Gets the Integer Array of values of the given property name * * @param name the property name * @return the integer Array; null if the property not found. */ public static int[] getIntegerArray(String name) { validateName(name); return config.getIntegerArray(name); }