Linked Raw Data GUI together and tables have some data in them from the database.

This commit is contained in:
Sunguin Peng
2016-09-14 11:38:59 +12:00
parent dff71615cb
commit 6806c0d099
14 changed files with 248 additions and 152 deletions
@@ -9,11 +9,11 @@ import java.util.ArrayList;
public class AirlineParser extends Parser {
String filePath = "";
ObservableList<Airline> parsedAirline;
ArrayList<Airline> parsedAirline;
public AirlineParser(String filePath){
this.filePath = filePath;
parsedAirline = FXCollections.observableArrayList();
parsedAirline = new ArrayList<Airline>();
}
public String parse() throws DataException{
@@ -122,7 +122,7 @@ public class AirlineParser extends Parser {
"Entries With Errors: %2$d", successful, error);
}
public ObservableList<Airline> getResult(){
public ArrayList<Airline> getResult(){
return parsedAirline;
}