120121122123124125126127128129130
archDispProf = new ArchivoDispProfesor(txtRuta.getText()); Dia diaLibre; int i; while (true){ try{ diaLibre = archDispProf.leer(); } catch(IOException ex){ break; } DiaBD.agregarDia(diaLibre); if (diaLibre.getNombreDia().equals("LUNES"))