I decided to write a quick Java program to do this instead of messing around with scripting languages or a Linux bash shell.
It worked very well, and I am rather pleased with the result and Java 8.
It contains the following "new/newer/not-very-old" stuff:
- a lambda
- a stream (of Strings)
- a method reference (used as a lambda)
- the java.nio.file package (New IO)
References
- [1] Java SE 8 - Official Javadoc
- https://docs.oracle.com/javase/8/docs/api/
No comments:
Post a Comment