com.ibm.ws.kernel.metatype.helper

Interface Fileset


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

Method Summary

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

Method Detail

getDir

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

getFileset

  1. 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