LowCodeSaveOptions
LowCodeSaveOptions class
Options for saving generated results in low code way.
class LowCodeSaveOptions;
Constructors
Constructor | Description |
---|---|
constructor() | Default Constructor. |
Properties
Property | Type | Description |
---|---|---|
outputFile | string | Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored. |
outputStream | Uint8Array | Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored. |
Methods
Method | Description |
---|---|
getOutputFile() | @deprecated. Please use the ‘outputFile’ property instead. Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored. |
setOutputFile(string) | @deprecated. Please use the ‘outputFile’ property instead. Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored. |
getOutputStream() | @deprecated. Please use the ‘outputStream’ property instead. Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored. |
setOutputStream(Uint8Array) | @deprecated. Please use the ‘outputStream’ property instead. Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored. |
isNull() | Checks whether the implementation object is null. |
getSaveFormat() | Gets and sets the save format for the output. Generally, for specific process in low code way, only some specific formats are allowed. Please specify the correct format for corresponding process, otherwise unexpected result or even exception may be caused. |
setSaveFormat(SaveFormat) | Gets and sets the save format for the output. Generally, for specific process in low code way, only some specific formats are allowed. Please specify the correct format for corresponding process, otherwise unexpected result or even exception may be caused. |
constructor()
Default Constructor.
constructor();
outputFile
Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored.
outputFile : string;
outputStream
Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored.
outputStream : Uint8Array;
getOutputFile()
@deprecated. Please use the ‘outputFile’ property instead. Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored.
getOutputFile() : string;
setOutputFile(string)
@deprecated. Please use the ‘outputFile’ property instead. Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored.
setOutputFile(value: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The value to set. |
getOutputStream()
@deprecated. Please use the ‘outputStream’ property instead. Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored.
getOutputStream() : Uint8Array;
setOutputStream(Uint8Array)
@deprecated. Please use the ‘outputStream’ property instead. Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored.
setOutputStream(value: Uint8Array) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | Uint8Array | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
getSaveFormat()
Gets and sets the save format for the output. Generally, for specific process in low code way, only some specific formats are allowed. Please specify the correct format for corresponding process, otherwise unexpected result or even exception may be caused.
getSaveFormat() : SaveFormat;
Returns
setSaveFormat(SaveFormat)
Gets and sets the save format for the output. Generally, for specific process in low code way, only some specific formats are allowed. Please specify the correct format for corresponding process, otherwise unexpected result or even exception may be caused.
setSaveFormat(value: SaveFormat) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | SaveFormat | The value to set. |