- handleInterruptedException
This method calls Thread.currentThread().interrupt() if any exception in the
hierarchy (including al
- closeResource
Closes a given resource. If the given resource also implements the Flushable
interface, the resource
- getHostInfo
Returns the current value of hostinfo.
- stripFileExtension
Returns the "presumed" filename extension (like '.jpg', '.zip') from a given
file.
- getFileExtension
Returns the "presumed" filename extension (like '.jpg', '.zip') from a given
file.
- isLinux
Returns whether the current host's operating system is Linux or any other
UNIX-like operating system
- isMacOS
Returns whether the current host's operating system is Mac OS X.
- isSolaris
Returns whether the current host's operating system is Sun/Open Solaris.
- reverse
Reverses the elements in the given array.
- setFileExtension
Sets the filename to end with the given file extension, if this is not already
the case.