Interface Fileset


  • public interface Fileset
    Provides access to get the directory path or files represented by a <fileset/> configuration.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDir()
      Returns the String path representing the directory of the fileset.
      java.util.Collection<java.io.File> getFileset()
      This method returns a Collection of File objects determined by the fileset configuration.
    • Method Detail

      • getDir

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

        java.util.Collection<java.io.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