Explore Java IO

A deep and comprehensive guide on Java IO Libraries

Explore Java IO
Explore Java IO

Explore Java IO udemy course

A deep and comprehensive guide on Java IO Libraries

Java Input Output manipulations are essential in Java daily programming tasks. No matters what kind of Java applications you are working on, dealing with Java IO is almost inevitable.

People usually get frustrated with Java IO since there are so many classes in Java Platform that they can use to work with files in particular and in IO in general. That's because we do not understand which classes should be used for which tasks.

This course is designed to help you to get rid of the frustration by demonstrating from very basic but crucial concepts such as what is file? what is path? Different path types? what is file encoding? Differences between ASCII and Unicode?, and so on. to advanced techniques required for high performance IO operations such as buffers, channels, flipping, clearing buffers, scattering read, and gathering write.

Each complicated concept is clearly explained step by step with code as well as visual representation so that you can catch up with the ideas.

The course is divided into 2 main sections:

The first section will discuss about Stream model:

  • Random access files withe RandomAccessFile
  • Binary Streams with FileInputStream/FileOutputStream
  • Character Streams with FileReader/FileWriter/BufferredReader/BufferedWriter/PrintWriter
  • Object Streams/Serialization with ObjectInputStream/ObjectOutputStream

The second section will be time to discuss about NIO library. Topics will be mentioned including:

  • Buffers - Channels
  • Flipping vs. Rewinding
  • Flipping vs. Clearing
  • Clearing vs. Compacting
  • Marking and Reseting
  • Scattering Read - Gathering Write