Question
I need help with this Java question. Please only answer in Java. Also, please answer it as simple as possible thanks. Create an application that
I need help with this Java question. Please only answer in Java.
Also, please answer it as simple as possible thanks.
Create an application that reads a file that contains an email list, reformats the data, and writes the cleaned list to another file.
Console
File Cleaner
Source file: prospects.csv
Cleaned file: prospects_clean.csv
Congratulations! Your file has been cleaned!
The prospect.csv file
FIRST,LAST,EMAIL
james,butler,jbutler@random.com
Josephine,Darakjy,josephine_darakjy@darakjy.org
ART,VENERE,ART@VENERE.ORG
The prospect_clean.csv file
First,Last,email
James,Butler,jbutler@random.com
Josephine,Darakjy,josephine_darakjy@darakjy.org
Art,Venere,art@venere.org
Specifications
Your instructor should provide a CSV file named prospects.csv that contains a list of prospects.
Your application should fix the formatting problems and write a file named prospects_clean.csv.
All names should use title case (an initial capital letter with the rest lowercase).
All email addresses should be lowercase.
All extra spaces at the start or end of a string should be removed.
Criteria
Fix formatting. Your application should fix the formatting problems.
Write File. Your application should write a file named prospects_clean.csv.
Use title case. All names should use title case (an initial capital letter with the rest lowercase).
Fix email addresses. All email addresses should be lowercase.
Trim spaces. All extra spaces at start or end of a string should be removed.
Step 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