Question: IT-162 Java 2 Homework: IO Processing Apply your knowledge of using IO processing in Java. Submit the project.zip via Blackboard. Create a program that uses
IT-162 Java 2
Homework: IO Processing
Apply your knowledge of using IO processing in Java. Submit the project.zip via Blackboard.
Create a program that uses file input and output streams.
Create Java project Week06IOProcessing. Create VolunteerDataIO.java to demonstrate how to generate an output file containing volunteer contact data.
VolunteerData.java must implement Serializable for converting the byte stream into an object. The volunteer fields are FirstName, LastName, City, State, and Event. (10 points)
VolunteerDataIO.java needs to create 4 new records in the Volunteers.txt output file. The records must be displayed as an output list in the console. (40 points)
Create 4 records on the volunteer list and one must be your name.
Console output must be in this format (columns aligned properly printf or String.format):
First Name Last Name City State Event
Jack Black Cincinnati OH Flying Pig
Jason Gather Newport KY Jazz Festival
Christy Jackson Hamilton OH 5K
Your FirstName LastName City State 10K
The Volunteers.txt output file must reside in your project folder.
Catch the FileNotFoundException with File Volunteers.txt not found. Contact the support desk and reference this error in class VolunteerDataIO. Catch an IOException with Error initializing stream.
Be sure the program checks for other error processing as necessary. (10 points)
The program must follow proper naming conventions of this course. (10 points)
Test the program and provide a print-screen of the test results. (10 points)
Be sure to have the proper program documentation/comments. All methods must have the proper JavaDoc comments. (10 points)
Generate a JavaDoc for your Project. You do this by selecting your project folder, select Project, Generate JavaDoc. You can refresh your project to see the doc folder that contains your index.html. Select Open With, Web Browser, navigate to annotations and provide a print-screen with your submission. (10 points)
Refer to the practice exercise for tips on how to create this application.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
