Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package estudio;
- import java.io.*;
- public class Lectura_palabras {
- public static void main(String []argumentos){
- try{
- Palabra palabra=new Palabra();
- FileReader fichero=new FileReader("d:/pruebas/ejemplos/texto1.txt");
- BufferedReader buffer=new BufferedReader(fichero);
- while(Palabra.hayPalabrasFile(buffer)){
- palabra.LecturaFile(buffer);
- System.out.print(palabra.toString()+" ");
- }
- }catch (Exception e){}
- }
- }
Add Comment
Please, Sign In to add comment