Class DeleteFileOptions


  • public class DeleteFileOptions
    extends java.lang.Object
    Delete file options

    Since 3.13.0

    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteFileOptions()  
      DeleteFileOptions​(java.lang.Boolean recursive, java.lang.Boolean ignoreIfNotExists)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.Boolean getIgnoreIfNotExists()
      Ignore the operation if the file doesn't exist.
      java.lang.Boolean getRecursive()
      Delete the content recursively if a folder is denoted.
      int hashCode()  
      void setIgnoreIfNotExists​(java.lang.Boolean ignoreIfNotExists)
      Ignore the operation if the file doesn't exist.
      void setRecursive​(java.lang.Boolean recursive)
      Delete the content recursively if a folder is denoted.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeleteFileOptions

        public DeleteFileOptions()
      • DeleteFileOptions

        public DeleteFileOptions​(java.lang.Boolean recursive,
                                 java.lang.Boolean ignoreIfNotExists)
    • Method Detail

      • getRecursive

        public java.lang.Boolean getRecursive()
        Delete the content recursively if a folder is denoted.
      • setRecursive

        public void setRecursive​(java.lang.Boolean recursive)
        Delete the content recursively if a folder is denoted.
      • getIgnoreIfNotExists

        public java.lang.Boolean getIgnoreIfNotExists()
        Ignore the operation if the file doesn't exist.
      • setIgnoreIfNotExists

        public void setIgnoreIfNotExists​(java.lang.Boolean ignoreIfNotExists)
        Ignore the operation if the file doesn't exist.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object