try { File f = new File("C:\\"); FileReader fr = new FileReader(f); char[] cbuf = new char[(int)f.length()]; fr.read(cbuf); String content = new String(cbuf); } catch (IOException iOException) { }
(Java) Leer un archivo modo de texto
Suscribirse a:
Entradas (Atom)