public String[] getStringArray(String key, Filter filter, String[] defaultValue) { List defaultList = null; if (defaultValue != null) { defaultList = Arrays.asList(defaultValue); } List value = getList(key, filter, defaultList); if (value == null) { return null; } else { return (String[]) value.toArray(new String[0]); }
public String[] getStringArray(String key) { return properties.getStringArray(key);
    public String[] getStringArray(String key, Filter filter, String[] defaultValue) {        List defaultList = null;        if (defaultValue != null) {            defaultList = Arrays.asList(defaultValue);        }        List value = getList(key, filter, defaultList);        if (value == null) {            return null;        } else {            return (String[]) value.toArray(new String[0]);        }    }