![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/03/2012, 11:39
|
| | Fecha de Ingreso: marzo-2011 Ubicación: Murcia
Mensajes: 12
Antigüedad: 13 años, 10 meses Puntos: 1 | |
No aplico bien .isEmpty() archivo = new File (System.getProperty("user.dir")+System.getProperty ("file.separator")+"moises.txt");
construye = new FileReader (archivo);
serializa = new BufferedReader(construye); if(construye.isEmpty()){
construye.close();
System.out.println("El archivo está vacio, cierra el archivo");}
Agradecido de antemano. |