2 lines
83 B
Java
2 lines
83 B
Java
|
|
String content = new Scanner(new File("foo"), "UTF-8").useDelimiter("\\A").next();
|