Uses of Class
java.io.BufferedReader
Package | Description |
---|---|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
-
Uses of BufferedReader in java.io
Subclasses of BufferedReader in java.io Modifier and Type Class Description class
LineNumberReader
A buffered character-input stream that keeps track of line numbers. -
Uses of BufferedReader in java.nio.file
Methods in java.nio.file that return BufferedReader Modifier and Type Method Description static BufferedReader
Files. newBufferedReader(Path path)
Opens a file for reading, returning aBufferedReader
to read text from the file in an efficient manner.static BufferedReader
Files. newBufferedReader(Path path, Charset cs)
Opens a file for reading, returning aBufferedReader
that may be used to read text from the file in an efficient manner.