If it is not explicitly told in following recipe, setting up services are described for Ubuntu 16.04 server, but applications are described for Ubuntu 16.04 and/or Lubuntu 16.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

11. 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 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.


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