Interface FileSet

  • All Superinterfaces:
    BaseFileSet
    All Known Implementing Classes:
    DefaultFileSet

    public interface FileSet
    extends BaseFileSet
    A file set, which consists of the files and directories in a common base directory.
    Since:
    1.0-alpha-9
    • Method Detail

      • getDirectory

        java.io.File getDirectory()
        Returns the file sets base directory.
      • isFollowingSymLinks

        default boolean isFollowingSymLinks()
        Returns whether symbolic links below the base directory are followed.

        When false (the default), a symbolic link is added to the archive as a link and the contents of a linked directory are not scanned. When true, links are resolved: a linked directory is added as a directory and its target's contents are included.

        Following links means the scan can descend into a directory that links back to one of its own ancestors, so only enable it for trees known not to contain such cycles.

        Since:
        4.14.0