예제 #1
0
        public void initialize(String fileLocation)
        {
            BalanceAtBats = new List <Dictionary <int, int> >();

            // Load Stored data from database file
            StoredLineups = LineupPersistence.loadDatabase();

            TeamReportFile = new SOMTeamReportFile(fileLocation, StoredLineups, new Config());
            TeamReportFile.parse();

            CompleteListOfTeams = TeamReportFile.getTeams();

            TeamLineupData = TeamInformation.loadDatabase();
        }
예제 #2
0
 public void saveDatabase()
 {
     TeamInformation.saveDatabase(TeamLineupData);
 }