Defines a GenericDataFileSet by searching for files in a directory.
## Static method (use this):
## GenericDataFileSet$byPath(path=NULL, pattern=NULL, private=FALSE, recursive=FALSE,
## depth=0L, fileClass=getFileClass(static), ..., .validate=FALSE, verbose=FALSE)## Don't use the below:
# S3 method for GenericDataFileSet
byPath(static, path=NULL, pattern=NULL, private=FALSE, recursive=FALSE, depth=0L,
fileClass=getFileClass(static), ..., .validate=FALSE, verbose=FALSE)
Returns an GenericDataFileSet object.
The directory where to search for files.
The filename pattern for match files.
If NULL, filename extensions corresponding to known subclasses
of the abstract GenericDataFile class are search for.
If FALSE, files starting with a period are excluded,
otherwise not.
If TRUE, subdirectories are search recursively,
otherwise not.
Optional arguments passed to the constructor of the static (calling) class.
Note that files with names starting with a period . are not
searched for. Such files are considered "private" and have to be
included explicitly, if wanted.
Henrik Bengtsson
For more information see GenericDataFileSet.