- deleteRecursively
Deletes the file or directory at the given path recursively. Deletes symbolic
links, not their targe
- listFiles
Returns an immutable list of paths to the files contained in the given
directory.
- asByteSink
Returns a view of the given path as a ByteSink.Any OpenOption provided are used
when opening streams
- asByteSource
Returns a view of the given path as a ByteSource.Any OpenOption provided are
used when opening strea
- isDirectory
Returns a predicate that returns the result of
java.nio.file.Files#isDirectory(Path,LinkOption...) o
- addException
Adds the given exception to the given collection, creating the collection if
it's null. Returns the
- checkAllowsInsecure
Checks that the given options allow an insecure delete, throwing an exception if
not.
- concat
Concatenates the contents of the two given collections of exceptions. If either
collection is null,
- deleteDirectoryContentsInsecure
Simple, insecure method for deleting the contents of a directory for file
systems that don't support
- deleteDirectoryContentsSecure
Secure method for deleting the contents of a directory using
SecureDirectoryStream. Returns a collec
- deleteRecursivelyInsecure
Insecure recursive delete for file systems that don't support
SecureDirectoryStream. Returns a colle
- deleteRecursivelySecure
Secure recursive delete using SecureDirectoryStream. Returns a collection of
exceptions that occurre