자바 Files.readAllBytes()

1 개요[ | ]

자바 Files.readAllBytes()
String content = new String(Files.readAllBytes(Paths.get("test.txt")));
System.out.println(content);
String content = new String(Files.readAllBytes(Paths.get(System.getProperty("user.dir"),"test.txt")));
System.out.println(content);

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}