public class FileReaderImpl
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Field and Description |
---|---|
static short |
DONE |
static short |
EMPTY |
static short |
LOADING |
Modifier | Constructor and Description |
---|---|
protected |
FileReaderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
com.google.gwt.typedarrays.shared.ArrayBuffer |
getArrayBufferResult() |
FileError |
getError() |
short |
getReadyState() |
String |
getStringResult() |
static FileReaderImpl |
newInstance() |
void |
readAsArrayBuffer(Blob fileBlob) |
void |
readAsBinaryString(Blob fileBlob) |
void |
readAsDataURL(Blob fileBlob) |
void |
readAsText(Blob fileBlob) |
void |
readAsText(Blob fileBlob,
String encoding) |
void |
registerEvent(FileReader reader,
String eventType) |
public static final short EMPTY
public static final short LOADING
public static final short DONE
public static final FileReaderImpl newInstance()
public final short getReadyState()
public final String getStringResult()
public final com.google.gwt.typedarrays.shared.ArrayBuffer getArrayBufferResult()
public final FileError getError()
public final void abort()
public final void readAsBinaryString(Blob fileBlob)
public final void readAsText(Blob fileBlob)
public final void readAsDataURL(Blob fileBlob)
public final void readAsArrayBuffer(Blob fileBlob)
public final void registerEvent(FileReader reader, String eventType)
Copyright © 2017. All Rights Reserved.