import java.io.*;

class Elenco {

public Elenco (String input_file)
{

try {
FileReader IN = new FileReader(input_file);
char[] c = new char[1024];
int read;
StringBuffer buffer = new StringBuffer();
while ((read=IN.read(c, 0, 1024)) != 0)
buffer.append(c, 0, read);
}
catch (FileNotFoundException fnfex) {}
catch (IOException ioex) {}
}

}

class TestElenco
{

public static void main (String [ ] args)
{
Elenco lista = new Elenco("imput.txt");
System.out.println(lista);

}

}
stampando lista dovrebbe uscirmi l'elenco