%iKnow.Source.File.Lister
deprecated class %iKnow.Source.File.Lister extends %iKnow.Source.Lister
Lister implementation for scanning a filesystem.
Lister Parameters to be supplied to AddListToBatch() and ProcessList() calls:
- path As %String - the directory where to look for files
- extensions As %List - the extensions (without leading dot) to load
- recursive As %Boolean - whether or not to recurse into subdirectories
- filter As %String - a code fragment that can be called through $xecute to
evaluate a filename and directory. For example:
"(fn,dir) quit '$find(fn,""draft"")"
External ID structure: [GroupName][LocalRef]
- GroupName = full path to the directory containing the file
- LocalRef = file name, including extension
Lister alias: "FILE"
Default Processor: %iKnow.Source.File.Processor
Method Inventory
Methods
Scans through the directory as dictated by the Lister Parameters. No metadata is gathered along the way.
See also ExpandList() in %iKnow.Source.Lister.
Inherited description:
Utility method to format the parameter string passed in AddList for display by the %iKnow.Source.Loader.GetCurrentLists() method. Defaults to $lts() but should be overridden to nicen up complex datatypes in the parameter list.
classmethod GetAlias() as %String
Lister alias: "FILE"
method TestParams(listerParams...) as %Status
Tests performed by this Lister:
- path: checks whether this is a valid string (no check on whether this is a valid path!)
- extensions: no checks
- recursive: no checks
- filter: if nonempty, checks whether this is a valid expression for $xecute() with two parameters
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- AddListToBatch()
- BuildExtId()
- BuildExtIdFromName()
- DefaultProcessor()
- GetExtidPrefix()
- GetGroupId()
- GetGroupName()
- Init()
- ProcessList()
- ProcessVirtualList()
- RegisterFixedMetadata()
- SetConfig()
- SetConverter()
- SetProcessor()
- SplitExtId()