By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,467 Members | 1,308 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,467 IT Pros & Developers. It's quick & easy.

how to read files one by one from directory

P: 1
hiiiii,
pritam here.

i m doing xml parsing,,in dis i hav to take xml files one by one from folder and then parse them,,In this i won to know how to read files from folder.plz try to reply fast.
Mar 19 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 10K+
P: 11,448
hiiiii,
pritam here.

i m doing xml parsing,,in dis i hav to take xml files one by one from folder and then parse them,,In this i won to know how to read files from folder.plz try to reply fast.
Read the API documentation for the File class and pay special attention
to the File.list() and File.listFiles() methods.

kind regards,

Jos (I typed this as fast as I could ;-)
Mar 19 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.