StoreFileExtPipe | R Documentation |
Gets the extension of a file. Creates the extension property which indicates extension of the file.
StoreFileExtPipe
will automatically invalidate the
Instance
if it is not able to find the
extension from the path field.
This class inherits from GenericPipe
and implements the
pipe
abstract function.
bdpar::GenericPipe
-> StoreFileExtPipe
new()
Creates a StoreFileExtPipe
object.
StoreFileExtPipe$new( propertyName = "extension", alwaysBeforeDeps = list(), notAfterDeps = list() )
propertyName
A character
value. Name of the property
associated with the GenericPipe
.
alwaysBeforeDeps
A list
value. The dependencies
alwaysBefore (GenericPipes
that must be executed before
this one).
notAfterDeps
A list
value. The dependencies
notAfter (GenericPipes
that cannot be executed after
this one).
pipe()
Preprocesses the Instance
to obtain the
extension of Instance
.
StoreFileExtPipe$pipe(instance)
instance
A Instance
value. The Instance
to preprocess.
The Instance
with the modifications that have
occurred in the pipe.
obtainExtension()
Gets of extension of the path.
StoreFileExtPipe$obtainExtension(path)
path
A character
value. The path of the file to get
the extension.
Extension of the path.
clone()
The objects of this class are cloneable with this method.
StoreFileExtPipe$clone(deep = FALSE)
deep
Whether to make a deep clone.
AbbreviationPipe
, ContractionPipe
,
File2Pipe
, FindEmojiPipe
,
FindEmoticonPipe
, FindHashtagPipe
,
FindUrlPipe
, FindUserNamePipe
,
GuessDatePipe
, GuessLanguagePipe
,
Instance
, InterjectionPipe
,
MeasureLengthPipe
, GenericPipe
,
ResourceHandler
, SlangPipe
,
StopWordPipe
, TargetAssigningPipe
,
TeeCSVPipe
, ToLowerCasePipe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.