Prev
9. Collections
Next
11. Threads

10. exercise: Input and Output

  1. Review presentation Input, Output

      

  2. Investigate jtm.activity10 package
  3. Implement class StreamEditor to pass unit tests
If necessary, you can use java.nio or Apache IO package 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.

Prev
9. Collections
Next
11. Threads
Tags:
Created by Valdis Vītoliņš on 2017-01-03 10:07
Last modified by Valdis Vītoliņš on 2019-08-09 15:46
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License