protected < T > T getProperty ( String key , Class < T > type ) { Object returnValue = getProperty ( key ) ; if ( returnValue != null ) { return ( T ) returnValue ; } else { return null ; } }
Gets the property and casts to the appropriate type