Add Headings and they will appear in your table of contents.
Extends Reader.
Its purpose is to provide memory buffer with character stream reading for having less file accessing and more speed.
Internal buffer is 8192 characters by default.
During operations, pre-reads the buffer from the external file, actual reading happens from buffer.
The BufferedReader implements the AutoClosable interface, the try-with-resources statement can be used to ensure proper closing.
Constructors:
(FileReader fileReader)
(FileReader fileReader, int bufferSize)
EXAMPLE FOR USAGE:
EXAMPLE FOR USAGE WITH TRY-WITH-RESOURCES: