/** * Typesafe Getter for the String represented by the provided key. * * @param key The key to get a value for * @return The <code>String</code> value */ public String getString(String key) { return (String) readAndValidate(key, String.class); }
/** * Typesafe Getter for the Long represented by the provided key. * * @param key The key to get a value for * @return The <code>Long</code> value */ public long getLong(String key) { return (Long) readAndValidate(key, Long.class); }
/** * Typesafe Getter for the Integer represented by the provided key. * * @param key The key to get a value for * @return The <code>Integer</code> value */ public int getInt(String key) { return (Integer) readAndValidate(key, Integer.class); }
/** * Typesafe Getter for the Double represented by the provided key. * * @param key The key to get a value for * @return The <code>Double</code> value */ public double getDouble(String key) { return (Double) readAndValidate(key, Double.class); }
/** * Typesafe Getter for the Double represented by the provided key. * * @param key The key to get a value for * @return The <code>Double</code> value */ public double getDouble(String key) { return (Double) readAndValidate(key, Double.class); }
/** * Typesafe Getter for the Integer represented by the provided key. * * @param key The key to get a value for * @return The <code>Integer</code> value */ public int getInt(String key) { return (Integer) readAndValidate(key, Integer.class); }
/** * Typesafe Getter for the String represented by the provided key. * * @param key The key to get a value for * @return The <code>String</code> value */ public String getString(String key) { return (String) readAndValidate(key, String.class); }
/** * Typesafe Getter for the Long represented by the provided key. * * @param key The key to get a value for * @return The <code>Long</code> value */ public long getLong(String key) { return (Long) readAndValidate(key, Long.class); }