备忘

	Files.lines(Paths.get("FILE_PATH"), StandardCharsets.UTF_8).forEach(System.out::println);  
	
	StringBuffer stringBuffer = new StringBuffer();
		Files.lines(Paths.get("FILE_PATH"), StandardCharsets.UTF_8).forEach(stringBuffer::append);

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

required