To demonstrate the use of the above, I will use a simple Java class called TimeZoneIDs.java, whose code listing is shown next. package dustin.examples; import java.util.Arrays; import ...
This is an opportunity to show off Groovy’s Collection.inject(Object, Closure). Groovy’s GDK’s File makes reading a file’s contents as a String or as a List of Strings easier than falling off a log.