This class that inherits from the Instance
class and
implements the functions of extracting the text and the date of an tsms type file.
ExtractorSms
ExtractorSms$new(path)
Arguments:
path: (character) path of the tsms type file.
This class inherits from Instance
and implements the
obtainSource
and obtainDate
abstracts functions.
obtainDate: function that obtains the date of the SMS file.
Usage:
obtainDate()
obtainSource: obtains the source of the SMS file. Reads the file indicated in the path. In addition, it initializes the data with the initial source.
Usage:
obtainSource()
Due to the fact that the creation date of the message can not be extracted from the text of an SMS, the date will be initialized to empty.