Home > Class Reference > %SYS namespace > %iKnow.Source.File.Processor

%iKnow.Source.File.Processor

class %iKnow.Source.File.Processor extends %iKnow.Source.Processor

This Processor implementation reads data from a filesystem, as listed by the ExpandList method of the %iKnow.Source.File.Lister.

Processor parameters:

  1. encoding As %String - encoding of the files to be read.

Extracted metadata keys:

  1. Size
  2. DateCreated
  3. DateModified

Method Inventory

Methods

classmethod GetMetadataKeys(params As %String) as %List
Inherited description:

Subclasses should override this method to identify those metadata keys that are calculated or extracted by this Processor implementation and will be registered for every source processed by calling SetCurrentMetadataValues() during the FetchSource() execution.

method SetParams(params As %String) as %Status
Inherited description:

This method stores the Processor parameters in the Params property, from where they can be referenced in the FetchSource() implementation.

NOTE: If this method is overridden by a subclass, it should make sure to either call this method via ##super, or set Params itself.

Inherited Methods