If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.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.

9. Input and output

Review the presentation Input and Output

Tasks

  1. Explore the jtm.activity09 package
  2. Implement the StreamEditor class to pass unit tests

Additional information

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

You can do manual testing like this (from your project folder), for example:

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

When doing manual testing, indicate the end of the stream by pressing Ctrl+d.


  

Created by Valdis Vītoliņš on 2025-01-28 17:36
Last modified by Valdis Vītoliņš on 2025-01-28 17:36
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License