Reading excel files in folder by giving folder name as input
Joined: Nov 21, 2006
I have to read some excel files from a folder. Can anyone have an idea to give input as folder name and java will read all the excel files in that folder. Ultimately i have to import the data from those excels to oracle database.
Thanks in advance
Joined: Mar 22, 2005
Is this question about how to access all files in a directory given the directory name, or about how to open XLS files?
If the former, check out the java.io.File.list() and listFiles() methods.
If the latter, check out the Apache POI library; it can read XLS files.