@JsType(isNative=true, namespace="<global>") public class JsFileSaver extends Object
org.webjars.bower.filesaver
.Constructor and Description |
---|
JsFileSaver() |
Modifier and Type | Method and Description |
---|---|
static void |
saveAs(org.jboss.errai.common.client.dom.Blob blob,
String fileName,
boolean disableAutoBOM)
Saves the given blob's content into a file.
|
@JsMethod public static void saveAs(org.jboss.errai.common.client.dom.Blob blob, String fileName, boolean disableAutoBOM)
blob
- The blob data.fileName
- The file name.disableAutoBOM
- true if you don't want FileSaver.js to automatically provide Unicode text encoding hints.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.