private void load ( final Properties properties , final String location , final boolean overwriteOnly ) { for ( Map . Entry < Object , Object > entry : properties . entrySet ( ) ) { String key = ( String ) entry . getKey ( ) ; String already = get ( key ) ; if ( overwriteOnly && already == null && ! INCLUDE . equals ( key ) ) { continue ; } String value = ( String ) entry . getValue ( ) ; load ( key , value , location ) ; } }
Load the properties from the given Properties object recording the origin on those properties as being from the given location .