{"json_modified": "2016-09-27T02:29:39.030551", "uuid": "122161c1-3eb4-431b-acbc-9bb37081d849", "title": "FileReader", "url": "/zh-CN/docs/Web/API/FileReader", "tags": [], "translations": [{"uuid": "300394a6-9028-4b6d-b513-5fa057470000", "title": "FileReader", "url": "/en-US/docs/Web/API/FileReader", "tags": ["Files", "Reference", "Interface", "API", "File API"], "summary": "The FileReader
object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File
or Blob
objects to specify the file or data to read.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-01-21T06:06:40", "review_tags": []}, {"uuid": "c7c36cc1-fedc-4edc-9399-55f7a9bb941d", "title": "FileReader", "url": "/de/docs/Web/API/FileReader", "tags": [], "summary": "Mit dem\u00a0FileReader-Objekt k\u00f6nnen Webapplikationen den Inhalt von auf dem Computer des Benutzers gespeicherten\u00a0Dateien (oder Rohdaten-Buffer)\u00a0asynchron lesen.\u00a0Mit File
oder Blob
-Objekten\u00a0wird die zu lesende Datei oder die zu lesenden Daten spezifiziert.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-09-11T10:53:15", "review_tags": []}, {"uuid": "739238ea-9147-458b-82b0-1cd8a3c689f1", "title": "FileReader", "url": "/es/docs/Web/API/FileReader", "tags": [], "summary": "El objeto FileReader permite a las aplicaciones web una lectura as\u00edncrona del contenido de archivos (o informaci\u00f3n de los datos en bruto) almacenados en el ordenador del usuario, usando {{domxref (\"File\")}} o {{domxref (\"Blob\")}} objetos para especificar el archivo o de datos a leer.", "localization_tags": [], "locale": "es", "last_edit": "2016-02-10T01:50:24", "review_tags": ["technical", "editorial"]}, {"uuid": "dd12cb11-a691-4a89-93d4-c789351efdd1", "title": "FileReader", "url": "/fr/docs/Web/API/FileReader", "tags": ["FileReader"], "summary": "L'objet FileReader permet aux applications Web de lire, de mani\u00e8re asynchrone, le contenu des fichiers (ou des tampons de donn\u00e9es brutes) stock\u00e9s sur l'ordinateur de l'utilisateur en utilisant des objets File
ou Blob
pour sp\u00e9cifier le fichier ou les donn\u00e9es \u00e0 lire. Les fichiers objet peuvent \u00eatre obtenus soit \u00e0 partir d'un objet FileList qui est le resultat retourn\u00e9 par\u00a0 la selection d'un ou plusieurs fichiers en utilisant l'\u00e9l\u00e9ment <input> de type file, soit \u00e0 partir d'un objet glisser-d\u00e9poser par l'intermediaire de DataTransfer.
Pour cr\u00e9er un FileReader, il suffit de faire comme ceci:", "localization_tags": [], "locale": "fr", "last_edit": "2016-09-04T21:40:49", "review_tags": []}, {"uuid": "bb76a0ed-8776-4d16-a10d-9740cc6e0c0c", "title": "FileReader", "url": "/ja/docs/Web/API/FileReader", "tags": ["API", "Files", "Reference", "R\u00e9f\u00e9rence", "File API", "DOM"], "summary": "FileReader \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3046\u3068\u3001\u30e6\u30fc\u30b6\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\uff08\u3082\u3057\u304f\u306f\u30d0\u30c3\u30d5\u30a1\u4e0a\u306e\u751f\u30c7\u30fc\u30bf\uff09\u3092 Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u975e\u540c\u671f\u7684\u306b\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u8aad\u307f\u8fbc\u3080\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30fc\u30bf\u306f File
\u306a\u3044\u3057 Blob
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-05-04T10:54:03", "review_tags": []}, {"uuid": "a657caad-a2d4-4c4d-b52b-fe80ea9ac055", "title": "FileReader", "url": "/ko/docs/Web/API/FileReader", "tags": [], "summary": "FileReader \uac1d\uccb4\ub294\u00a0\u00a0\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ube44\ub3d9\uae30\uc801\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc77d\uae30 \uc704\ud558\uc5ec \uc77d\uc744 \ud30c\uc77c\uc744 \uac00\ub9ac\ud0a4\ub294File
\ud639\uc740 Blob
\uac1d\uccb4\ub97c\u00a0\uc774\uc6a9\ud574\u00a0\ud30c\uc77c\uc758 \ub0b4\uc6a9\uc744(\ud639\uc740 raw data\ubc84\ud37c\ub85c) \uc77d\uace0 \uc0ac\uc6a9\uc790\uc758 \ucef4\ud4e8\ud130\uc5d0 \uc800\uc7a5\ud558\ub294 \uac83\uc744 \uac00\ub2a5\ud558\uac8c \ud574\uc90d\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-07-11T18:40:32", "review_tags": []}, {"uuid": "0e7b908e-0543-4310-899c-899c75107249", "title": "FileReader", "url": "/pt-BR/docs/Web/API/FileReader", "tags": [], "summary": "O objeto\u00a0FileReader
\u00a0permite aplica\u00e7\u00f5es web ler assincronamente o conte\u00fado dos arquivos (ou buffers de dados puros) do computador do usu\u00e1rio, utilizando o objeto File
ou Blob
para especificar o arquivo ou os dados a serem lidos.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-08-22T13:51:07", "review_tags": []}, {"uuid": "491a1a27-0130-43e3-a75a-20892ec26619", "title": "FileReader", "url": "/pt-PT/docs/Web/API/FileReader", "tags": ["API", "Files", "Reference", "TopicStub", "NeedsTranslation", "R\u00e9f\u00e9rence", "File API", "DOM"], "summary": "The FileReader
object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File
or Blob
objects to specify the file or data to read.", "localization_tags": ["inprogress"], "locale": "pt-PT", "last_edit": "2015-03-17T10:38:38", "review_tags": []}, {"uuid": "00b099bd-ec04-47a3-8120-90037e449c2c", "title": "FileReader", "url": "/ru/docs/Web/API/FileReader", "tags": ["API", "DOM", "\u0424\u0430\u0439\u043b\u044b", "File API"], "summary": "\u041e\u0431\u044a\u0435\u043a\u0442\u00a0FileReader
\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u00a0\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 (\u0438\u043b\u0438 \u0431\u0443\u0444\u0435\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445),\u00a0\u0445\u0440\u0430\u043d\u044f\u0449\u0438\u0435\u0441\u044f \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u044b\u00a0File
\u0438\u043b\u0438\u00a0Blob
, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f\u00a0\u0444\u0430\u0439\u043b \u0438\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f.", "localization_tags": [], "locale": "ru", "last_edit": "2015-05-08T13:43:17", "review_tags": []}, {"uuid": "f0cee4e6-d856-4411-a370-943d0eb07aec", "title": "FileReader", "url": "/tr/docs/Web/API/FileReader", "tags": ["API", "Files", "Reference", "TopicStub", "NeedsTranslation", "R\u00e9f\u00e9rence", "File API", "DOM"], "summary": "The FileReader
object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File
or Blob
objects to specify the file or data to read.", "localization_tags": ["inprogress"], "locale": "tr", "last_edit": "2015-07-23T01:31:04", "review_tags": []}, {"uuid": "2c1254d1-785d-4c9f-b80c-42715fe7b54c", "title": "FileReader", "url": "/zh-TW/docs/Web/API/FileReader", "tags": [], "summary": "\u85c9\u7531\u00a0FileReader
\u7269\u4ef6\uff0cWeb \u61c9\u7528\u7a0b\u5f0f\u80fd\u4ee5\u975e\u540c\u6b65\uff08asynchronously\uff09\u65b9\u5f0f\u8b80\u53d6\u5132\u5b58\u5728\u7528\u6236\u7aef\u7684\u6a94\u6848\uff08\u6216\u539f\u59cb\u8cc7\u6599\u66ab\u5b58\uff09\u5167\u5bb9\uff0c\u53ef\u4ee5\u4f7f\u7528\u00a0File
\u6216\u00a0Blob
\u7269\u4ef6\u6307\u5b9a\u8981\u8b80\u53d6\u7684\u8cc7\u6599\u3002", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2016-06-18T07:13:06", "review_tags": []}], "modified": "2016-09-27T02:29:37", "label": "FileReader", "localization_tags": [], "locale": "zh-CN", "id": 59303, "last_edit": "2016-09-27T02:29:30", "summary": "\u4f7f\u7528FileReader
\u5bf9\u8c61,web\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5f02\u6b65\u7684\u8bfb\u53d6\u5b58\u50a8\u5728\u7528\u6237\u8ba1\u7b97\u673a\u4e0a\u7684\u6587\u4ef6(\u6216\u8005\u539f\u59cb\u6570\u636e\u7f13\u51b2)\u5185\u5bb9,\u53ef\u4ee5\u4f7f\u7528File
\u5bf9\u8c61\u6216\u8005Blob
\u5bf9\u8c61\u6765\u6307\u5b9a\u6240\u8981\u5904\u7406\u7684\u6587\u4ef6\u6216\u6570\u636e.\u5176\u4e2dFile\u5bf9\u8c61\u53ef\u4ee5\u662f\u6765\u81ea\u7528\u6237\u5728\u4e00\u4e2a<input>
\u5143\u7d20\u4e0a\u9009\u62e9\u6587\u4ef6\u540e\u8fd4\u56de\u7684FileList
\u5bf9\u8c61,\u4e5f\u53ef\u4ee5\u6765\u81ea\u62d6\u653e\u64cd\u4f5c\u751f\u6210\u7684 DataTransfer
\u5bf9\u8c61,\u8fd8\u53ef\u4ee5\u662f\u6765\u81ea\u5728\u4e00\u4e2aHTMLCanvasElement
\u4e0a\u6267\u884cmozGetAsFile()\u65b9\u6cd5\u540e\u7684\u8fd4\u56de\u7ed3\u679c
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Method_overview", "title": "\u65b9\u6cd5\u6982\u8ff0"}, {"id": "State_constants", "title": "\u72b6\u6001\u5e38\u91cf"}, {"id": "Properties", "title": "\u5c5e\u6027"}, {"id": "Methods", "title": "\u65b9\u6cd5"}, {"id": "abort()", "title": "abort()"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "Exceptions_thrown", "title": "\u629b\u51fa\u7684\u5f02\u5e38"}, {"id": "readAsArrayBuffer()", "title": "readAsArrayBuffer()"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "readAsBinaryString()", "title": "readAsBinaryString()"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "readAsDataURL()", "title": "readAsDataURL()"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "\u4f8b\u5b50", "title": "\u4f8b\u5b50"}, {"id": "readAsText()", "title": "readAsText()"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "\u4e8b\u4ef6\u5904\u7406\u7a0b\u5e8f", "title": "\u4e8b\u4ef6\u5904\u7406\u7a0b\u5e8f"}, {"id": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "\u9488\u5bf9Gecko\u7684\u6ce8\u610f\u4e8b\u9879", "title": "\u9488\u5bf9Gecko\u7684\u6ce8\u610f\u4e8b\u9879"}, {"id": "See_also", "title": "\u76f8\u5173\u94fe\u63a5"}], "slug": "Web/API/FileReader", "review_tags": []}