Description Usage Arguments Format Details Inherit Methods See Also
Class to get the extension of a file.
1 2 3 | StoreFileExtensionPipe$new(propertyName = "extension",
alwaysBeforeDeps = list(""),
notAfterDeps = list())
|
propertyName |
(character) Name of the property associated with the pipe. |
alwaysBeforeDeps |
(list) The dependences alwaysBefore (pipes that must be executed before this one). |
notAfterDeps |
(list) The dependences notAfter (pipes that cannot be executed after this one). |
An object of class R6ClassGenerator
of length 24.
The pipe will invalidate the instance if it is not able to find the extension from the path of the instance.
This class inherits from PipeGeneric
and implements the
pipe
abstract function.
pipe Function that preprocesses the instance to obtain the extension of instance.
Usage
pipe(instance)
Value
The instance with the modifications that have occurred in the pipe.
Arguments
instance (Instance) Instance to preprocess.
obtainExtension Getter of extension of the path.
Usage
obtainExtension(path)
Value
Extension of the path.
Arguments
path (character) Path of the file to get the extension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.