Question: Need to develop a simple Java command line utility called program that does the following: Specification of Utility: Name: program Synopsis: program OPT -c :

Need to develop a simple Java command line utility called program that does the following:

Specification of Utility:

Name: program

Synopsis: program OPT

-c : if specified, the encode utility will reverse the capitalization (i.e., lowercase to uppercase, and uppercase to lowercase) of all the occurrences, in the file, of the characters specified in the required argument.

Example of Useage:

program -c "aeiou" file.txt (changes all instances of characters "aeiou" in file to upper or lowercase.

File.txt contains "abcxyZ" result will be "ABCXYz"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!