Utility class to handle files.
Node | Description |
---|
Method | Description |
---|---|
sap.ui.core.util.File.save |
Triggers a download / save action of the given file. |
Triggers a download / save action of the given file.
Param | Type | DefaultValue | Description |
---|---|---|---|
sData | string |
file content |
|
sFileName | string |
file name |
|
sFileExtension | string |
file extension |
|
sMimeType | string |
file mime-type |
|
sCharset | string |
file charset |
|
bByteOrderMark | boolean |
Whether to prepend a unicode byte order mark (only applies for utf-8 charset). Default is |