Learn R Programming

bdpar (version 1.0.1)

InstanceFactory: Class to handle the creation of Instance types

Description

InstanceFactory class builds the appropriate Instance object according to the file extension.

Usage

InstanceFactory

Arguments

Constructor

InstanceFactory$new()

Methods

  • createInstance: builds the Instance object according to the file extension.

    • Usage: createInstance(path)

    • Value: the Instance corresponding object according to the file extension.

    • Arguments:

      • path: (character) path of the file to create an Instance.

See Also

ExtractorEml, ExtractorSms, ExtractorTwtid, ExtractorYtbid, Instance