public interface FileWriter extends EventTarget
Modifier and Type | Field and Description |
---|---|
static int |
DONE |
static int |
INIT |
static int |
WRITING |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
EventRemover |
addEventListener(String type,
EventListener listener)
Register an event handler of a specific event type on the
EventTarget . |
EventRemover |
addEventListener(String type,
EventListener listener,
boolean useCapture)
Register an event handler of a specific event type on the
EventTarget . |
boolean |
dispatchEvent(Event evt)
Dispatch an event to this
EventTarget . |
FileError |
getError() |
double |
getLength() |
EventListener |
getOnabort() |
EventListener |
getOnerror() |
EventListener |
getOnprogress() |
EventListener |
getOnwrite() |
EventListener |
getOnwriteend() |
EventListener |
getOnwritestart() |
double |
getPosition() |
int |
getReadyState() |
void |
removeEventListener(String type,
EventListener listener)
Removes an event listener from the
EventTarget . |
void |
removeEventListener(String type,
EventListener listener,
boolean useCapture)
Removes an event listener from the
EventTarget . |
void |
seek(double position) |
void |
setOnabort(EventListener arg) |
void |
setOnerror(EventListener arg) |
void |
setOnprogress(EventListener arg) |
void |
setOnwrite(EventListener arg) |
void |
setOnwriteend(EventListener arg) |
void |
setOnwritestart(EventListener arg) |
void |
truncate(double size) |
void |
write(Blob data) |
static final int DONE
static final int INIT
static final int WRITING
FileError getError()
double getLength()
EventListener getOnabort()
void setOnabort(EventListener arg)
EventListener getOnerror()
void setOnerror(EventListener arg)
EventListener getOnprogress()
void setOnprogress(EventListener arg)
EventListener getOnwrite()
void setOnwrite(EventListener arg)
EventListener getOnwriteend()
void setOnwriteend(EventListener arg)
EventListener getOnwritestart()
void setOnwritestart(EventListener arg)
double getPosition()
int getReadyState()
void abort()
EventRemover addEventListener(String type, EventListener listener)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
EventRemover addEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
boolean dispatchEvent(Event evt)
EventTarget
EventTarget
.dispatchEvent
in interface EventTarget
void removeEventListener(String type, EventListener listener)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void removeEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void seek(double position)
void truncate(double size)
void write(Blob data)
Copyright © 2016. All rights reserved.