public void addTrailingPairsToProperties ( Properties properties ) { if ( trailingProperties != null ) { for ( Object propKey : trailingProperties . keySet ( ) ) { String name = ( String ) propKey ; String value = trailingProperties . getProperty ( name ) ; properties . setProperty ( name , value ) ; } } }
If a command line has been parsed calling this method sets all of its free arguments that were name = value pairs on the specified properties .