Untitled

mail@pastecode.io avatar
unknown
java
4 years ago
171 B
18
Indexable
Never
try(BufferedReader in = new BufferedReader(new FileReader(pathname))) {
    String line;
    while ((line = in.readLine()) != null) {
        // process line here.
    }
}