Interface Fileset


public interface Fileset
Provides access to get the directory path or files represented by a &ltfileset/&gt configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the String path representing the directory of the fileset.
    This method returns a Collection of File objects determined by the fileset configuration.
  • Method Details

    • getDir

      String getDir()
      Returns the String path representing the directory of the fileset.
      Returns:
      the directory path
    • getFileset

      Collection<File> getFileset()
      This method returns a Collection of File objects determined by the fileset configuration. The returned Collection is not updated if the configuration changes or the contents of a monitored directory are udpated. To be notified of these changes use a FilesetChangeListener.
      Returns:
      the collection of matching files