Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %iKnow.Source.File.Processor
Private  Storage   

%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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary


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
GetKnownLanguage GetMetadataKeys ProcessListElement ProcessVirtualListElement
SetConverter SetParams


Methods


• classmethod GetMetadataKeys(params As %String) as %List

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

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.