Exemplo n.º 1
0
  /**
   * Gets the String Array of values of the given property name
   *
   * @param name the property name
   * @param required whether the property is required
   * @return the String Array
   * @throws ConfigurationException if the required property is not found
   */
  public static String[] getStringArray(String name, boolean required)
      throws ConfigurationException {
    validateName(name);

    return config.getStringArray(name, required);
  }
Exemplo n.º 2
0
  /**
   * Gets the String Array of values of the given property name
   *
   * @param name the property name
   * @return the String Array; null if not found
   */
  public static String[] getStringArray(String name) {
    validateName(name);

    return config.getStringArray(name);
  }