Answered step by step
Verified Expert Solution
Question
1 Approved Answer
this is Java program assignment about recursively searhcing specific file/files in directories/subdirectories on windown as an app , please help This assignment asks you to
this is Java program assignment about recursively searhcing specific file/files in directories/subdirectories on windown as an app , please help
This assignment asks you to create a Java program that brings recursion, looping, file handling techniques and (optionally)advanced file date processing together in a useful Windows application. Your program will prompt the user for search criteria and will then 'crawl' through a directory together with its subdirectories looking for files that qualify. Results of the search are displayed Your program should search for files By name (without an extension - e.g. 'MyTextFile') * By extension name (e.g. 'java') By content (e.g. 'Math.sqrt') By modification date (optional extra credit - see below) Notes: The above criteria for searching may be combined in any form (see example runs below.) A valid initial path will always be entered other criteria are optional . . You should allow the user to find file name entries regardless of upper/lower case characters in the file and extension names. Searching for content, however, should be case sensitive . The count of qualifying files should be displayed (see example output.) . Your class (and your corresponding .java file) should be named as follows o MySearch This assignment asks you to create a Java program that brings recursion, looping, file handling techniques and (optionally)advanced file date processing together in a useful Windows application. Your program will prompt the user for search criteria and will then 'crawl' through a directory together with its subdirectories looking for files that qualify. Results of the search are displayed Your program should search for files By name (without an extension - e.g. 'MyTextFile') * By extension name (e.g. 'java') By content (e.g. 'Math.sqrt') By modification date (optional extra credit - see below) Notes: The above criteria for searching may be combined in any form (see example runs below.) A valid initial path will always be entered other criteria are optional . . You should allow the user to find file name entries regardless of upper/lower case characters in the file and extension names. Searching for content, however, should be case sensitive . The count of qualifying files should be displayed (see example output.) . Your class (and your corresponding .java file) should be named as follows o MySearchStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started