private String getProp(Map<Object, Object> props, String key) {
        String value = (String) props.get(key);
        if (null == value) {
            value = (String) props.get(key.toLowerCase());
        }
        return (null != value) ? value.trim() : null;
    }
private String getProp ( Map < Object , Object > props , String key ) { String value = ( String ) props . get ( key ) ; if ( null == value ) { value = ( String ) props . get ( key . toLowerCase ( ) ) ; } return ( null != value ) ? value . trim ( ) : null ; }
Access the property that may or may not exist for the given key.

@param props
@param key
@return String