/** * Returns an array of system capabilities. * * @return An array of capabilities. */ public String[] getCapabilities() { Entity caps = new Entity(this, "authorization/capabilities"); return caps.getStringArray("capabilities"); }
/** * Returns the string array value associated with the specified key, or the * default value if the key does not exist. * * @param key The key to look up. * @param defaultValue The default value. * @return The string array value associated with the specified key. */ String[] getStringArray(String key, String[] defaultValue) { if (toUpdate.containsKey(key)) return getStringArray(key); return getContent().getStringArray(key, defaultValue); }