Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I'm completely new to this please help me with this assigment using JAVA II. I don't know where to start. Please help. 1. Read employee
I'm completely new to this please help me with this assigment using JAVA II. I don't know where to start. Please help.
1. Read employee information from a file named applicants.csv. The file is in the following format: a id, title, first_name, last_name, email, position, status 1, Mrs, Lorin, Eatttok, leat tokeggoogle. Cn, Account Executige, Interview 2, Hr, Histi, Fanshaw, af anshan1 gdinoz, org, Graphic Designer, Hire 3, H5, Lonny, Hazelden, Lhazeldenzesbwire, con, Electrical Engineer, Interview A, Dr, Enlle, caldecot, ecaldecot 3 gparallels, com,Desktop support Techniclan, R eject 5. Honorable, Eden, Geraldini, egeraldinlaegoogle. fr, Geological Engineer, Inte rview - Here is an example input file: applicants.csv - Generated at https://www.mockaroo.com/ B - Note: this is just an example file, a different input file may be used for grading 2. For each applicant, generate a personalized "email" and append it to an output file called emails.txt * Each "email" should be formatted as follows: Each omail should be formatted as tollows: Tol of anskani liakent vor Dear Me. lanshaw. (Message here) * Address the message the the applicant using their title and last name. e.g. "Dear Mr. Fanshaw" * The body of the message should mention the position the applicant is applying for Based on the status, the body of the message should also - Make the applicant a job offer - Invite the applicant to schedule an interview - inform the applicant that their application has been denied 3. Check for and handle the following errors in the input fites: 1. Missing title - Address the the message using the applicant's first and last name. e.g. "Dear Misti Fanshaw" 2. Invalid email address 3. Check for and handle the following errors in the input file: 1. Missing title - Address the the message using the applicant's first and last name, e. g. "Dear Misti Fanshaw" 2. Invalid email address - If the email address is missing an "@" symbol, write a message to standard error (e.g. using System.err, print"), but do not write an "email" to the output file. For example: - The following enall address is invalidi "ssimonumpall.coos". Mi ssing e syubol, 3. Invalid character in the first or last name - Only capital and lowercase character's are allowed - no numbers or special characters - Write a message to standard error (e.g. using System.err.print"), but do not write an "email" to the output file. For example: - Invalid character ' ' at position 4 in last name : "Robektson" 4. Other requirements: 1. Use a StringBuilder to create each "email" 2. Remove any extra whitespace from the beginning or end of each field 5. Be sure to review the rubric and follow the Submission Guidelines idStep 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