Package com.ibm.wsspi.config
Interface Fileset
public interface Fileset
Provides access to get the directory path or files represented by a <fileset/> configuration.
-
Method Summary
Modifier and TypeMethodDescriptiongetDir()
Returns theString
path representing the directory of the fileset.This method returns aCollection
ofFile
objects determined by the fileset configuration.
-
Method Details
-
getDir
String getDir()Returns theString
path representing the directory of the fileset.- Returns:
- the directory path
-
getFileset
Collection<File> getFileset()This method returns aCollection
ofFile
objects determined by the fileset configuration. The returnedCollection
is not updated if the configuration changes or the contents of a monitored directory are udpated. To be notified of these changes use aFilesetChangeListener
.- Returns:
- the collection of matching files
-