Uses of Enum Class
com.google.common.jimfs.FileSystemView.DeleteMode
-
Uses of FileSystemView.DeleteMode in com.google.common.jimfs
Methods in com.google.common.jimfs that return FileSystemView.DeleteModeModifier and TypeMethodDescriptionstatic FileSystemView.DeleteMode
Returns the enum constant of this class with the specified name.static FileSystemView.DeleteMode[]
FileSystemView.DeleteMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.common.jimfs with parameters of type FileSystemView.DeleteModeModifier and TypeMethodDescriptionprivate void
FileSystemView.checkDeletable
(File file, FileSystemView.DeleteMode mode, Path path) Checks that the given file can be deleted, throwing an exception if it can't.private void
FileSystemView.delete
(DirectoryEntry entry, FileSystemView.DeleteMode deleteMode, JimfsPath pathForException) Deletes the given directory entry from its parent directory.void
FileSystemView.deleteFile
(JimfsPath path, FileSystemView.DeleteMode deleteMode) Deletes the file at the given absolute path.