Classic Java Streams for Input and Output
Java Streams is the first course in the Networking with Java series.
This course teaches you how to
- read and write data to files,
After completing this course, you will be able to
- Efficiently read data from a stream and write data to a stream
- Flush and close an output stream
- Use file streams
- Read and write formatted numeric data
- Buffer streams for improved performance
- Connect input and output streams and connect multiple input streams
- Read and write byte arrays through the streams mechanism
Java Lambdas and Parallel Streams
What is a Java Stream?
A stream is an ordered sequence of data that,
Whether you use streams to take data from memory, storage, or your network, it will hide the implementation details from you. The details are abstracted away, so in each scenario, you can look at it as an ordered sequence of data.
- Provides a common I/O model
- Abstracts details from an underlying source or destination
While Java Streams does not deal directly with network programming, it covers skills that are prerequisite for anyone interested in writing programs that communicate over networks.
The Networking with Java series progresses from courses teaching these prerequisite skills to courses dealing specifically with writing Java programs that communicate over networks.
Java Streams Course length
This course should take you approximately 15 hours to complete. You can expect to spend 15 to 30 minutes on each lesson. Some lessons will take you longer, especially if there is an exercise to submit, and others may take 10 minutes.
These numbers are only estimates. Remember that your pace through the course is entirely up to you.
In the next lessons, the course prerequisites and the course project will be discussed.