/** * Obtains the current value of the specified {@link SystemProperty}. If the property has * a value specified, that value will be used. If the property is unknown, * <code>null</code> will be returned. * * @param name the name of the property * * @return an {@link Object} */ public Object getProperty(String name) { if (properties.containsKey(name)) { SystemProperty property = properties.get(name); return property.getValue(); } else { return null; } }
/** * Obtains the current value of the specified {@link SystemProperty}. If the property has * a value specified, that value will be used. If the property is unknown, * <code>null</code> will be returned. * * @param name the name of the property * * @return an {@link Object} */ public Object getProperty(String name) { if (properties.containsKey(name)) { SystemProperty property = properties.get(name); return property.getValue(); } else { return null; } }
Object value = property.getValue();
Object value = property.getValue();