Class JsFileContents
java.lang.Object
io.deephaven.web.client.api.storage.JsFileContents
Represents a file's contents loaded from the server. If an etag was specified when loading, client should first test
if the etag of this instance matches - if so, the contents will be empty, and the client's existing contents should
be used.
-
Constructor Summary
ConstructorsConstructorDescriptionJsFileContents
(elemental2.dom.Blob data, String etag) JsFileContents
(String etag) -
Method Summary
Modifier and TypeMethodDescriptionelemental2.promise.Promise<elemental2.core.ArrayBuffer>
static JsFileContents
arrayBuffers
(elemental2.core.ArrayBuffer... buffers) static JsFileContents
blob
(elemental2.dom.Blob blob) getEtag()
elemental2.promise.Promise<String>
text()
static JsFileContents
-
Constructor Details
-
JsFileContents
-
JsFileContents
-
-
Method Details
-
blob
-
text
-
arrayBuffers
-
text
-
arrayBuffer
@JsMethod public elemental2.promise.Promise<elemental2.core.ArrayBuffer> arrayBuffer() -
getEtag
-