public Map < String , Object > convertPropertiesToMap ( Properties properties ) { return properties . entrySet ( ) . stream ( ) . collect ( toLinkedMap ( e -> e . getKey ( ) . toString ( ) , e -> e . getValue ( ) ) ) ; }
Converts Properties to Map