private void parseFile(File xml) throws IOException, XMLStreamException, SAXException {
  if (xml == null) {
    throw new IllegalArgumentException("No xml file passed");
  }
 else   if (!xml.exists()) {
    throw new IOException("Project file not found");
  }
  file=xml;
  ProjectXmlParser parser=new ProjectXmlParser(file,this);
  parser.parse();
}

private void parseFile ( File xml ) throws IOException , XMLStreamException , SAXException { if ( xml == null ) { throw new IllegalArgumentException ( "No xml file passed" ) ; } else if ( ! xml . exists ( ) ) { throw new IOException ( "Project file not found" ) ; } file = xml ; ProjectXmlParser parser = new ProjectXmlParser ( file , this ) ; parser . parse ( ) ; }
parses xml file to gather data
