Automatically closes resource after use.
Automatically closes resource after use. Handy for closing streams, files, sessions etc. Similar to try-with-resources in Java 7.
Copies a text file substituting every occurrence of $ {VARIABLE}
with a value from the given map
Makes a new directory or throws an IOException
if it cannot be made
Waits until a port at the given address is open or timeout passes.
Waits until a port at the given address is open or timeout passes.
true if managed to connect to the port, false if timeout happened first