Schnittstelle DeleteSpec

Alle bekannten Implementierungsklassen:
Delete

public interface DeleteSpec
A specification for deleting files from the filesystem.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    delete(Object... files)
    Specifies the files to delete.
    void
    setFollowSymlinks(boolean followSymlinks)
    Specifies whether or not symbolic links should be followed during deletion.
  • Methodendetails

    • delete

      DeleteSpec delete(Object... files)
      Specifies the files to delete.
      Parameter:
      files - the list of files which should be deleted. Any type of object accepted by Project.files(Object...)
    • setFollowSymlinks

      void setFollowSymlinks(boolean followSymlinks)
      Specifies whether or not symbolic links should be followed during deletion.
      Parameter:
      followSymlinks - deletion will follow symlinks when true.