๐ Learning and exploring Java's IO (input/output) standard libraries.
NOTE: This project was developed on macOS. It is for my own personal use.
My goal is to learn more about Java IO. Specifically:
- I'm refreshing some of my existing Java IO knowledge
- I want to learn stuff that is old but new to me
- In particular, I want to learn about Java's "new IO" in the
java.nio
which apparently has been controversial from its inception. I'd like to form my own opinions about that by actually trying it out. Again, this is not new stuff!
- In particular, I want to learn about Java's "new IO" in the
- I want to learn new stuff (Java 11+)
This repository illustrates different concepts, patterns and examples via standalone sub-projects. Each sub-project is completely independent of the others and do not depend on the root project. This standalone sub-project constraint forces the sub-projects to be complete and maximizes the reader's chances of successfully running, understanding, and re-using the code.
The sub-projects include:
A simple program that illustrates a few different ways to read from a file using the Java standard libraries.
See the README in read-file/.
A simple program that illustrates a few different ways to write to a file using the Java standard libraries.
See the README in write-file/.
A simple program that creates temporary files and directories using the Java standard libraries.
See the README in temp-files/.
A simple client and server program using sockets.
See the README in sockets/.