Created
August 15, 2016 16:01
-
-
Save nikuyoshi/1cf1dd7168f65c2aa17d1f99b2ef235f to your computer and use it in GitHub Desktop.
ファイルを一行で読み込む
This file contains 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
public class AAA{ | |
public void main(){ | |
String str = new String(Files.readAllBytes(Paths.get("fuga.txt"))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment