Class FolderDeleteStrategy

java.lang.Object
org.apache.commons.io.FileDeleteStrategy
org.apache.wicket.util.file.FolderDeleteStrategy

public class FolderDeleteStrategy extends org.apache.commons.io.FileDeleteStrategy
A FileDeleteStrategy that can delete folders.
  • Field Summary

    Fields inherited from class org.apache.commons.io.FileDeleteStrategy

    FORCE, NORMAL
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Construct.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(File folder)
     
    boolean
     

    Methods inherited from class org.apache.commons.io.FileDeleteStrategy

    doDelete, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • deleteQuietly

      public boolean deleteQuietly(File folder)
      Overrides:
      deleteQuietly in class org.apache.commons.io.FileDeleteStrategy
    • delete

      public void delete(File folder) throws IOException
      Overrides:
      delete in class org.apache.commons.io.FileDeleteStrategy
      Throws:
      IOException