ExtractorSms {bdpar} | R Documentation |
Class to handle SMS files with tsms extension
Description
This class that inherits from the Instance
class and
implements the functions of extracting the text and the date of an tsms type file.
Details
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.
Inherit
This class inherits from Instance
and implements the
obtainSource
and obtainDate
abstracts functions.
Super class
bdpar::Instance
-> ExtractorSms
Methods
Public methods
Inherited methods
bdpar::Instance$addBanPipes()
bdpar::Instance$addFlowPipes()
bdpar::Instance$addProperties()
bdpar::Instance$checkCompatibility()
bdpar::Instance$getBanPipes()
bdpar::Instance$getData()
bdpar::Instance$getDate()
bdpar::Instance$getFlowPipes()
bdpar::Instance$getNamesOfProperties()
bdpar::Instance$getPath()
bdpar::Instance$getProperties()
bdpar::Instance$getSource()
bdpar::Instance$getSpecificProperty()
bdpar::Instance$invalidate()
bdpar::Instance$isInstanceValid()
bdpar::Instance$isSpecificProperty()
bdpar::Instance$setData()
bdpar::Instance$setDate()
bdpar::Instance$setProperties()
bdpar::Instance$setSource()
bdpar::Instance$setSpecificProperty()
Method new()
Creates a ExtractorSms
object.
Usage
ExtractorSms$new(path)
Arguments
path
A
character
value. Path of the tsms file.
Method obtainDate()
Obtains the date of the SMS file.
Usage
ExtractorSms$obtainDate()
Method obtainSource()
Obtains the source of the SMS file. Reads the file indicated in the path. In addition, it initializes the data field with the initial source.
Usage
ExtractorSms$obtainSource()
Method toString()
Returns a character
representing the instance
Usage
ExtractorSms$toString()
Returns
Instance
character
representation
Method clone()
The objects of this class are cloneable with this method.
Usage
ExtractorSms$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
ExtractorEml
, ExtractorYtbid
,
Instance