public static String constructLlccKey(String lang,String country){
  String key=lang;
  if (country != null && !country.equals("none")) {
    key+="_" + country;
  }
  return key;
}

public static String constructLlccKey ( String lang , String country ) { String key = lang ; if ( country != null && ! country . equals ( "none" ) ) { key += "_" + country ; } return key ; }
constructs the key for the hyphenation pattern file .
