private static void generateFiles(){
  String[] classNames;
  ResourceBundle rules, info;
  info=ResourceBundle.getBundle("sun.text.resources.BreakIteratorInfo",new Locale(language,country,valiant),BreakIteratorRBControl.INSTANCE);
  classNames=info.getStringArray("BreakIteratorClasses");
  rules=ResourceBundle.getBundle("sun.text.resources.BreakIteratorRules",new Locale(language,country,valiant),BreakIteratorRBControl.INSTANCE);
  if (info.containsKey("CharacterData")) {
    generateDataFile(info.getString("CharacterData"),rules.getString("CharacterBreakRules"),classNames[0]);
  }
  if (info.containsKey("WordData")) {
    generateDataFile(info.getString("WordData"),rules.getString("WordBreakRules"),classNames[1]);
  }
  if (info.containsKey("LineData")) {
    generateDataFile(info.getString("LineData"),rules.getString("LineBreakRules"),classNames[2]);
  }
  if (info.containsKey("SentenceData")) {
    generateDataFile(info.getString("SentenceData"),rules.getString("SentenceBreakRules"),classNames[3]);
  }
}

private static void generateFiles ( ) { String [ ] classNames ; ResourceBundle rules , info ; info = ResourceBundle . getBundle ( "sun.text.resources.BreakIteratorInfo" , new Locale ( language , country , valiant ) , BreakIteratorRBControl . INSTANCE ) ; classNames = info . getStringArray ( "BreakIteratorClasses" ) ; rules = ResourceBundle . getBundle ( "sun.text.resources.BreakIteratorRules" , new Locale ( language , country , valiant ) , BreakIteratorRBControl . INSTANCE ) ; if ( info . containsKey ( "CharacterData" ) ) { generateDataFile ( info . getString ( "CharacterData" ) , rules . getString ( "CharacterBreakRules" ) , classNames [ 0 ] ) ; } if ( info . containsKey ( "WordData" ) ) { generateDataFile ( info . getString ( "WordData" ) , rules . getString ( "WordBreakRules" ) , classNames [ 1 ] ) ; } if ( info . containsKey ( "LineData" ) ) { generateDataFile ( info . getString ( "LineData" ) , rules . getString ( "LineBreakRules" ) , classNames [ 2 ] ) ; } if ( info . containsKey ( "SentenceData" ) ) { generateDataFile ( info . getString ( "SentenceData" ) , rules . getString ( "SentenceBreakRules" ) , classNames [ 3 ] ) ; } }
generate data files whose names are included in sun . text . resources . breakiteratorinfo + < localename >
