• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading a directory upto file level

 
Rishi Singh
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
There is a requirement in my present project where I have to read a directory structure up to file level and convert in to XML file and display the xml file.
Thanks in Advance
Rishi
 
Rishi Tyagi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rishi,
Could not understand your exact problem, could you please be more specific.
BTW if you want to read the directory
then use File class and use its methods listFiles() and isDirectory(). Hope it may help you.
if still you have problem then please be specific.
Rishi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!