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 classLineNumberReaderA 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 BufferedReaderFiles. newBufferedReader(Path path)Opens a file for reading, returning aBufferedReaderto read text from the file in an efficient manner.static BufferedReaderFiles. newBufferedReader(Path path, Charset cs)Opens a file for reading, returning aBufferedReaderthat may be used to read text from the file in an efficient manner.