(Solved) : Assignment Translator Program Adheres Following Rules English Message Files Stored Text Fi Q30130491 . . .
Assignment The translator program adheres to the following rules: .English message files will be stored as text files, one sentence per line. .Morse code message files will be stored as text files, one encoded character per line, where end of words are indicated by one blank line, and end of sentences are indicated by two blank lines English message files will contain file extension eng, and Morse code files with have file extension mor The additional assumption for this project is that: .Messages will contain only lowercase characters, periods, commas, question marks, dashes, and apostrophes. Morse Code Translator The UML design diagram for the main program is given on the next page. Note, read the following description carefully to be sure you understand what is being shown The Morse code player is already provided for you as part of the projct files, along with the driver for the program and a test input file. The given UML uses a to indicate private instance variables or methods and a to indicate public. Italics indicate an abstract class or method. Any method or instance variable that is underlined is static (only appears in the player class) The Translator class coordinates the translation of messages (English to Morse code, and Morse code to English) It contains two class members through composition (an InputBuffer and an OutputBuffer). Thus, the Translator class is responsible for their construction (i.e., the Translator class should have an instance variable for an InputBuffer and for an OutputBuffer). This is indicated by the closed diamonds connecting the two classes to Translator. The names for these two instance variables is listed on the edges Show transcribed image text
Expert Answer
Answer to Assignment Translator Program Adheres Following Rules English Message Files Stored Text Fi Q30130491 . . .
OR