Winter Cardinal UI - v0.457.0 / UtilFileDownloader
• new UtilFileDownloader(): UtilFileDownloader
▸ download(filename, contents, insertBom?): void
Downloads a file of the given name with the given contents.
| Name | Type | Description |
|---|---|---|
filename |
string |
a file name |
contents |
string |
file contents |
insertBom? |
boolean |
false to stop the BOM insertion |
void
src/main/typescript/wcardinal/ui/util/util-file-downloader.ts:38
▸ downloadUrl(filename, url): void
Downloads a file of the given name and URL.
| Name | Type | Description |
|---|---|---|
filename |
string |
a file name |
url |
string |
a file URL |
void
src/main/typescript/wcardinal/ui/util/util-file-downloader.ts:13