What I did up until now is following:
String fileName = \"file.date.txt\"; String ext = fileName.substring(fileName.lastIndexOf(\'.\') + 1); System.out.printf(\
No, see the changelog of the JDK8 release