Class PartRetrievers.LocalPartRetriever
Represents a local part retriever.
Constructor Attributes | Constructor Name and Description |
---|---|
PartRetrievers.LocalPartRetriever(file, decrypt, decryptOptions)
Constructs a new LocalPartRetriever.
|
Class Detail
PartRetrievers.LocalPartRetriever(file, decrypt, decryptOptions)
Constructs a new LocalPartRetriever.
LocalPartRetriever retrieves Document parts asynchronously from locally hosted .xod file. Requires a fully-functional file API.
- Parameters:
- {File} file
- The local file reference to read data from.
- {function} decrypt
- Function to be called to decrypt a part of the file
- {Object} decryptOptions
- An object with options for the decryption e.g. {password: "pass", type: "aes"}