Exemplo n.º 1
0
 private static void showPopulation(String value) throws IllegalAccessException {
   PopulationDAOFileSystem dao = new PopulationDAOFileSystem();
   dao.setSettings(value);
   Population population = PopulationFactory.getDefaultPopulation(dao);
   showHeader();
   showPrograms(population);
 }
Exemplo n.º 2
0
 private static String getProgramString(String path) throws IllegalAccessException {
   File file = new File(path);
   Program program = PopulationDAOFileSystem.getProgramFromFile(file);
   return ProgramPrinter.showProgram(program);
 }