Map < String , String > function ( Locale arg0 ) { Map < String , String > loc0 = new HashMap < > ( defaultMsgs ) ; if ( arg0 != null && ! DEFAULT_LOCALE . equals ( arg0 ) && msgs . containsKey ( arg0 ) ) { loc0 . putAll ( msgs . get ( arg0 ) ) ; } return loc0 ; }
returns messages for the given locale . these messages will be merged with messages from the default locale . if we do n't have any messages for this locale , the default locale will be used . concode_field_sep Map<Locale,Map<String,String>> msgs concode_elem_sep Logger LOGGER concode_elem_sep String[] I18N_RESOURCES_PATHS concode_elem_sep Locale DEFAULT_LOCALE concode_elem_sep Map<String,String> defaultMsgs concode_elem_sep BundleTracker bundleTracker concode_elem_sep NavigableMap<String,String> languages concode_elem_sep BundleContext bundleContext concode_field_sep void init concode_elem_sep void modifiedBundle concode_elem_sep void addMsgs concode_elem_sep void processBundle concode_elem_sep NavigableMap<String,String> getLanguages concode_elem_sep void preDestroy concode_elem_sep Object addingBundle concode_elem_sep void removedBundle concode_elem_sep Properties loadFromResource