Note, that this recipe is not updated long time and could be outdated!
Got it.

11. Input and Output

  1. Review presentation Input, Output

    Practical exercise

  2. Investigate jtm.activity10 package
  3. Implement class StreamEditor to pass unit tests

If necessary, you can use Apache IO package (or java.nio) package instead of default java.io.* package for easier String from/to file operations.

Additional information

You can do manual test for your implementation in following way (from folder of your project):

java -cp target/classes/ jtm.activity10.StreamEditor 2 aaa - -

When do manual testing, you signal end of stream by pressing Ctrl+d.


  

Created by Valdis Vītoliņš on 2020-05-28 10:55
Last modified by Valdis Vītoliņš on 2021-04-13 14:31
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License