Mac OS X Reference Library Apple Developer
Search

FileReader

Module:
html
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

abort
readAsBinaryString
readAsDataURL
readAsText

abort



void abort(); 

readAsBinaryString



void readAsBinaryString(
    in Blob fileBlob); 

readAsDataURL



void readAsDataURL(
    in File file); 

readAsText



void readAsText(
    in Blob fileBlob,
    in DOMString encoding); 

Member Data

DONE
EMPTY
error
LOADING
onabort
onerror
onload
onloadend
onloadstart
onprogress
readyState
result

DONE



const unsigned short DONE = 2; 

EMPTY



const unsigned short EMPTY = 0; 

error



readonly attribute FileError error; 

LOADING



const unsigned short LOADING = 1; 

onabort



attribute EventListener onabort; 

onerror



attribute EventListener onerror; 

onload



attribute EventListener onload; 

onloadend



attribute EventListener onloadend; 

onloadstart



attribute EventListener onloadstart; 

onprogress



attribute EventListener onprogress; 

readyState



readonly attribute unsigned short readyState; 

result



readonly attribute DOMString result; 

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-05-27