private void loadCountriesFiles(String filePath) throws Exception {
  SAXReader reader=new SAXReader();
  Document document=reader.read(new File(filePath,ImportInitvalues.nameOfCountriesFile));
  Element root=document.getRootElement();
  for (@SuppressWarnings("rawtypes") Iterator it=root.elementIterator("country"); it.hasNext(); ) {
    Element item=(Element)it.next();
    statemanagement.addState(item.attributeValue("name"),item.attributeValue("short"),Integer.parseInt(item.attributeValue("code")));
  }
  log.debug("Countries ADDED");
}

private void loadCountriesFiles ( String filePath ) throws Exception { SAXReader reader = new SAXReader ( ) ; Document document = reader . read ( new File ( filePath , ImportInitvalues . nameOfCountriesFile ) ) ; Element root = document . getRootElement ( ) ; for ( @ SuppressWarnings ( "rawtypes" ) Iterator it = root . elementIterator ( "country" ) ; it . hasNext ( ) ; ) { Element item = ( Element ) it . next ( ) ; statemanagement . addState ( item . attributeValue ( "name" ) , item . attributeValue ( "short" ) , Integer . parseInt ( item . attributeValue ( "code" ) ) ) ; } log . debug ( "Countries ADDED" ) ; }
import all language names from the xml file
