Renamed course parser to race parser

- because in AC35 spec. race xml file contain course set up and all other general race settings

#story[828]
This commit is contained in:
Haoming Yin
2017-04-26 22:47:39 +12:00
parent 7bf2d4c40e
commit 8b8422de3a
3 changed files with 183 additions and 0 deletions
@@ -0,0 +1,20 @@
package seng302.server.simulator.parsers;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
/**
* Parses the race xml file to get course details
* Created by Haoming Yin (hyi25) on 16/3/2017
*/
public class BoatsParser extends FileParser {
private Document doc;
public BoatsParser(String path) {
super(path);
this.doc = this.parseFile();
}
}