Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Javafx App

 
kelly devon
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day,

Please i need help. i am supposed to write a program that goes through a computer searching for a particular file,
i really don;t know how how to go about it.
please a clue will help so much.Thank you
 
Claude Moore
Ranch Hand
Posts: 833
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First I would start by coding a console based program which do the folder/directory scan. Forget about the GUI, it is irrelevant. Second, you have to apply recursion, starting from each root of target FS: given a folder, list files and verify if any matches to your target, and for each sublfolder apply your scan method.Good work.
 
kelly devon
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much
 
Claude Moore
Ranch Hand
Posts: 833
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome!
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!