code: public String getString(String key, String defaultValue) {
  		Object o = getObject(key);
  		if (o == null) {
  			return defaultValue;
  		}
  		if (!(o instanceof String)) {
  			throw new IllegalArgumentException("Object ["+o+"] associated with key ["+key+"] is not of type String.");
  		}
  		return (String)o;
  	}
docs: Get the string value, or the defaultValue if not found.
  @param key The key to search for.
  @return The value, or defaultValue if not found.