I want to use
File f = new File(\"C:\\\\\");
to make an ArrayList with the contents of the folder.
I am not very good with buffered
The easiest way of doing that is:
File f = new File("C:\\"); ArrayList files = new ArrayList(Arrays.asList(f.listFiles()));
And if what you want is a list of names:
File f = new File("C:\\"); ArrayList names = new ArrayList(Arrays.asList(f.list()));