UNPKG

zcrmsdk

Version:
35 lines (21 loc) 1.05 kB
# StreamWrapper This class handles the file stream and name. ## Package /utils/util/stream_wrapper ## Constructors | Constructor | Description | | :--------------------------------------------------- | :---------------------------------------------------------------------- | | constructor([name](#name)=null , [stream](#stream)=null , [filePath](#filepath)=null) | Creates a ***StreamWrapper class*** instance with the specified parameters. | ---- ### name A String containing the file name. ### stream An Object containing the file stream. ### filePath A String containing the absolute file path. ## Methods | Method | Description | | :---------- | :---------------------------------------------------- | | Name | The getter method to get the file name. | | Stream | The getter method to get the file input stream. | ---- [source](../../utils/util/stream_wrapper.js)