- close
Closes all given Closeables. Some of theCloseables may be null; they are
ignored. After everything i
- closeWhileHandlingException
Closes all given Closeables, suppressing all thrown exceptions. Some of the
Closeables may be null,
- getDecodingReader
Opens a Reader for the given resource using a CharsetDecoder. Unlike Java's
defaults this reader wil
- rm
Deletes one or more files or directories (and everything underneath it).
- deleteFilesIgnoringExceptions
Deletes all given files, suppressing all thrown IOExceptions. Some of the files
may be null, if so t
- fsync
Ensure that any writes to the given file is written to the storage device that
contains it.
- deleteFilesIfExist
Deletes all given Paths, if they exist. Some of theFiles may be null; they are
ignored. After everyt
- spins
If the dir is an FSDirectory or wraps one via possibly nested FilterDirectory or
FileSwitchDirectory
- getMountPoint
- rethrowAlways
This utility method takes a previously caught (non-null) Throwable and rethrows
either the original
- spinsLinux
- addSuppressed
adds a Throwable to the list of suppressed Exceptions of the first Throwable