Readers Writers  «Prev  Next»


Text numeric Data - Exercise

Course project, part 2

Let us review the specifications for completing the course project:
Objective: Finish modifying the FileViewer program by allowing the program's user to choose different text encodings in which the file can be read and displayed.
You willl need to do the following:
  1. Adjust the user interface to allow a binary choice of whether the file contains text or numeric data
  2. Use a Reader to read the file instead of an input stream if the user chooses text
  3. Provide some means for the user to pick the encoding in which he or she wants the text read (MacRoman, ISO Latin-1, Unicode, and so on). Paste the source code below and click the Submit button when you are ready to submit this exercise.