public static String constructUserKey(String lang,String country,Map<String,String> hyphPatNames){
  String userKey=null;
  if (hyphPatNames != null) {
    String key=constructLlccKey(lang,country);
    key=key.replace('_','-');
    userKey=hyphPatNames.get(key);
  }
  return userKey;
}

public static String constructUserKey ( String lang , String country , Map < String , String > hyphPatNames ) { String userKey = null ; if ( hyphPatNames != null ) { String key = constructLlccKey ( lang , country ) ; key = key . replace ( '_' , '-' ) ; userKey = hyphPatNames . get ( key ) ; } return userKey ; }
if the user configured a hyphenation pattern file name for this ( lang , country ) value , return it . if not , return null .
