public void addAll ( Configuration other , String prefix ) { final StringBuilder bld = new StringBuilder ( ) ; bld . append ( prefix ) ; final int pl = bld . length ( ) ; synchronized ( this . confData ) { synchronized ( other . confData ) { for ( Map . Entry < String , Object > entry : other . confData . entrySet ( ) ) { bld . setLength ( pl ) ; bld . append ( entry . getKey ( ) ) ; this . confData . put ( bld . toString ( ) , entry . getValue ( ) ) ; } } } }
Adds all entries from the given configuration into this configuration . The keys are prepended with the given prefix .