Created
February 24, 2017 09:05
-
-
Save masanobuimai/e04ee340182f32c84fb2d91fea63439d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try (Stream<String> stream = Files.lines(Paths.get("file.txt"))) { | |
stream.forEach(System.out::println); | |
} catch (IOException ignore) { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment