You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/04/01 01:06:34 UTC
cordova-plugin-file git commit: CB-8653 properly updated translated
docs to use new id
Repository: cordova-plugin-file
Updated Branches:
refs/heads/master 44da98349 -> 65d3bddd0
CB-8653 properly updated translated docs to use new id
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/65d3bddd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/65d3bddd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/65d3bddd
Branch: refs/heads/master
Commit: 65d3bddd040a0146d9b00eebd55b995f6e8a5aed
Parents: 44da983
Author: Steve Gill <st...@gmail.com>
Authored: Tue Mar 31 16:06:00 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Mar 31 16:06:00 2015 -0700
----------------------------------------------------------------------
doc/de/index.md | 4 ++--
doc/de/plugins.md | 8 ++++----
doc/es/index.md | 4 ++--
doc/es/plugins.md | 8 ++++----
doc/fr/index.md | 4 ++--
doc/fr/plugins.md | 8 ++++----
doc/it/index.md | 4 ++--
doc/it/plugins.md | 8 ++++----
doc/ja/index.md | 4 ++--
doc/ja/plugins.md | 8 ++++----
doc/ko/index.md | 4 ++--
doc/ko/plugins.md | 8 ++++----
doc/pl/index.md | 4 ++--
doc/pl/plugins.md | 8 ++++----
doc/ru/index.md | 4 ++--
doc/ru/plugins.md | 8 ++++----
doc/zh/index.md | 4 ++--
doc/zh/plugins.md | 8 ++++----
18 files changed, 54 insertions(+), 54 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/de/index.md
----------------------------------------------------------------------
diff --git a/doc/de/index.md b/doc/de/index.md
index 5755807..2a51695 100644
--- a/doc/de/index.md
+++ b/doc/de/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
Dieses Plugin implementiert eine File-API, die Lese-/Schreibzugriff Zugriff auf Dateien, die auf dem Gerät befinden.
@@ -47,7 +47,7 @@ Obwohl im globalen Gültigkeitsbereich, steht es nicht bis nach dem `deviceready
## Installation
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## Unterstützte Plattformen
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/de/plugins.md
----------------------------------------------------------------------
diff --git a/doc/de/plugins.md b/doc/de/plugins.md
index 2286133..8c14031 100644
--- a/doc/de/plugins.md
+++ b/doc/de/plugins.md
@@ -35,7 +35,7 @@ Es ist wichtig zu erinnern, dass nicht alle `cdvfile://` URLs sind zuweisbaren r
#### Android
-Auf Android, die einfachste Methode zum Konvertieren eines `cdvfile://` darin, dass die URL zu einem Dateisystempfad verwenden `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`verfügt über mehrere Methoden der verarbeiten kann `cdvfile://` URLs:
+Auf Android, die einfachste Methode zum Konvertieren eines `cdvfile://` darin, dass die URL zu einem Dateisystempfad verwenden `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`verfügt über mehrere Methoden der verarbeiten kann `cdvfile://` URLs:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@ Auf Android, die einfachste Methode zum Konvertieren eines `cdvfile://` darin, d
Es ist auch möglich, das Plugin Datei direkt zu verwenden:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@ Es ist auch möglich, das Plugin Datei direkt zu verwenden:
Konvertieren von einen Pfad zu einer `cdvfile://` URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
index 62dd900..a9c0264 100644
--- a/doc/es/index.md
+++ b/doc/es/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
Este plugin implementa una API de archivo que permite acceso de lectura/escritura a los archivos que residen en el dispositivo.
@@ -47,7 +47,7 @@ Aunque en el ámbito global, no estará disponible hasta después de la `devicer
## Instalación
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## Plataformas soportadas
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/es/plugins.md
----------------------------------------------------------------------
diff --git a/doc/es/plugins.md b/doc/es/plugins.md
index 49a1d99..eeb952b 100644
--- a/doc/es/plugins.md
+++ b/doc/es/plugins.md
@@ -35,7 +35,7 @@ Es importante recordar que no todos `cdvfile://` URLs son asignables a los archi
#### Android
-En Android, el método más sencillo para convertir un `cdvfile://` URL a una ruta de sistema de archivos es utilizar `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`tiene varios métodos que pueden manejar `cdvfile://` URLs:
+En Android, el método más sencillo para convertir un `cdvfile://` URL a una ruta de sistema de archivos es utilizar `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`tiene varios métodos que pueden manejar `cdvfile://` URLs:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@ En Android, el método más sencillo para convertir un `cdvfile://` URL a una ru
También es posible utilizar directamente el archivo plugin:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@ También es posible utilizar directamente el archivo plugin:
Para convertir de un camino hacia un `cdvfile://` URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
index b2f0fee..7235522 100644
--- a/doc/fr/index.md
+++ b/doc/fr/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
Ce plugin implémente une API de fichier permettant l'accès en lecture/écriture aux fichiers qui résident sur le périphérique.
@@ -45,7 +45,7 @@ Bien que dans la portée globale, il n'est pas disponible jusqu'après la `devic
## Installation
- Cordova plugin ajouter org.apache.cordova.file
+ Cordova plugin ajouter cordova-plugin-file
## Plates-formes prises en charge
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/fr/plugins.md
----------------------------------------------------------------------
diff --git a/doc/fr/plugins.md b/doc/fr/plugins.md
index efd1bac..668e168 100644
--- a/doc/fr/plugins.md
+++ b/doc/fr/plugins.md
@@ -35,7 +35,7 @@ Il est important de rappeler que pas tous les `cdvfile://` URL sont cartographia
#### Android
-Sur Android, la méthode la plus simple pour convertir un `cdvfile://` URL vers un chemin d'accès de système de fichiers est d'utiliser `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`comporte plusieurs méthodes qui peuvent gérer `cdvfile://` URL :
+Sur Android, la méthode la plus simple pour convertir un `cdvfile://` URL vers un chemin d'accès de système de fichiers est d'utiliser `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`comporte plusieurs méthodes qui peuvent gérer `cdvfile://` URL :
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@ Sur Android, la méthode la plus simple pour convertir un `cdvfile://` URL vers
Il est également possible d'utiliser le fichier plugin directement :
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@ Il est également possible d'utiliser le fichier plugin directement :
Pour convertir un chemin d'accès à un `cdvfile://` URL :
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
index 14d0a83..f3cd731 100644
--- a/doc/it/index.md
+++ b/doc/it/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
Questo plugin implementa un API File permettendo l'accesso di lettura/scrittura ai file che risiedono sul dispositivo.
@@ -47,7 +47,7 @@ Anche se in ambito globale, non è disponibile fino a dopo l'evento `deviceready
## Installazione
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## Piattaforme supportate
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/it/plugins.md
----------------------------------------------------------------------
diff --git a/doc/it/plugins.md b/doc/it/plugins.md
index a66ab8e..de2c297 100644
--- a/doc/it/plugins.md
+++ b/doc/it/plugins.md
@@ -35,7 +35,7 @@ Plugin che occorre scrivere al filesystem potrebbe voler convertire un URL del s
#### Android
-Su Android, il metodo più semplice per convertire un `cdvfile://` URL a un percorso di file System è quello di utilizzare `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`dispone di diversi metodi in grado di gestire `cdvfile://` URL:
+Su Android, il metodo più semplice per convertire un `cdvfile://` URL a un percorso di file System è quello di utilizzare `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`dispone di diversi metodi in grado di gestire `cdvfile://` URL:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@ Su Android, il metodo più semplice per convertire un `cdvfile://` URL a un perc
È anche possibile utilizzare direttamente il File del plugin:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@ Su Android, il metodo più semplice per convertire un `cdvfile://` URL a un perc
Per convertire da un percorso a un `cdvfile://` URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
index 78758ea..57fb7d2 100644
--- a/doc/ja/index.md
+++ b/doc/ja/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
このプラグインは、デバイス上のファイルへの読み取り/書き込みアクセスを許可するファイル API を実装します。
@@ -47,7 +47,7 @@ FileWriter 仕様も実装しています: <http://dev.w3.org/2009/dap/file-syst
## インストール
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## サポートされているプラットフォーム
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/ja/plugins.md
----------------------------------------------------------------------
diff --git a/doc/ja/plugins.md b/doc/ja/plugins.md
index ed973e9..1319d48 100644
--- a/doc/ja/plugins.md
+++ b/doc/ja/plugins.md
@@ -35,7 +35,7 @@ JavaScript 側認証と DirectoryEntry オブジェクトの HTML ファイル
#### アンドロイド
-Android 上で変換する最も簡単な方法は `cdvfile://` を使用してファイルシステムのパスに URL が `org.apache.cordova.CordovaResourceApi` 。 `CordovaResourceApi`扱うことができるいくつかの方法があります `cdvfile://` Url:
+Android 上で変換する最も簡単な方法は `cdvfile://` を使用してファイルシステムのパスに URL が `cordova-plugin-CordovaResourceApi` 。 `CordovaResourceApi`扱うことができるいくつかの方法があります `cdvfile://` Url:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@ Android 上で変換する最も簡単な方法は `cdvfile://` を使用して
また、ファイル プラグインを直接使用することが可能です。
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@ Android 上で変換する最も簡単な方法は `cdvfile://` を使用して
パスから変換する、 `cdvfile://` の URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
index e4763a3..08340d8 100644
--- a/doc/ko/index.md
+++ b/doc/ko/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
이 플러그인은 장치에 있는 파일에 대 한 읽기/쓰기 액세스를 허용 하는 파일 API를 구현 합니다.
@@ -47,7 +47,7 @@
## 설치
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## 지원 되는 플랫폼
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/ko/plugins.md
----------------------------------------------------------------------
diff --git a/doc/ko/plugins.md b/doc/ko/plugins.md
index 47c4fe0..06cf138 100644
--- a/doc/ko/plugins.md
+++ b/doc/ko/plugins.md
@@ -35,7 +35,7 @@
#### 안 드 로이드
-안 드 로이드, 변환 하는 간단한 방법에는 `cdvfile://` URL을 파일 시스템 경로 사용 하는 `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`처리할 수 있는 여러 가지 방법에는 `cdvfile://` Url:
+안 드 로이드, 변환 하는 간단한 방법에는 `cdvfile://` URL을 파일 시스템 경로 사용 하는 `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`처리할 수 있는 여러 가지 방법에는 `cdvfile://` Url:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@
그것은 또한 파일 플러그인을 직접 사용할 수 있습니다:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@
경로를 변환 하는 `cdvfile://` URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
index 24348a7..1ccb330 100644
--- a/doc/pl/index.md
+++ b/doc/pl/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
Ten plugin implementuje API pliku, dzięki czemu dostęp do odczytu i zapisu do plików znajdujących się na urządzeniu.
@@ -47,7 +47,7 @@ Chociaż w globalnym zasięgu, to nie dostępne dopiero po `deviceready` imprezi
## Instalacja
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## Obsługiwane platformy
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/pl/plugins.md
----------------------------------------------------------------------
diff --git a/doc/pl/plugins.md b/doc/pl/plugins.md
index bfc26b6..0b8f579 100644
--- a/doc/pl/plugins.md
+++ b/doc/pl/plugins.md
@@ -35,7 +35,7 @@ Ważne jest, aby pamiętać, że nie wszystkie `cdvfile://` adresy URL są możn
#### Android
-Na Android, najprostsza metoda konwersji `cdvfile://` URL do ścieżki systemu plików jest użycie `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`jest kilka metod, które mogą obsługiwać `cdvfile://` adresów URL:
+Na Android, najprostsza metoda konwersji `cdvfile://` URL do ścieżki systemu plików jest użycie `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`jest kilka metod, które mogą obsługiwać `cdvfile://` adresów URL:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@ Na Android, najprostsza metoda konwersji `cdvfile://` URL do ścieżki systemu p
Jest również możliwe, aby korzystać z wtyczki pliku bezpośrednio:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@ Jest również możliwe, aby korzystać z wtyczki pliku bezpośrednio:
Do przeliczenia ścieżki do `cdvfile://` adres URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/ru/index.md
----------------------------------------------------------------------
diff --git a/doc/ru/index.md b/doc/ru/index.md
index 70ab60b..3c9fca9 100644
--- a/doc/ru/index.md
+++ b/doc/ru/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
Этот плагин реализует API файла, позволяя доступ на чтение и запись в файлы, находящиеся на устройстве.
@@ -37,7 +37,7 @@
## Установка
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## Поддерживаемые платформы
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/ru/plugins.md
----------------------------------------------------------------------
diff --git a/doc/ru/plugins.md b/doc/ru/plugins.md
index 312e663..2445d09 100644
--- a/doc/ru/plugins.md
+++ b/doc/ru/plugins.md
@@ -35,7 +35,7 @@
#### Android
-На Android, самый простой способ для преобразования `cdvfile://` URL-адрес к пути файловой системы заключается в использовании `org.apache.cordova.CordovaResourceApi` . `CordovaResourceApi`Есть несколько методов, которые можно обработать `cdvfile://` URL-адреса:
+На Android, самый простой способ для преобразования `cdvfile://` URL-адрес к пути файловой системы заключается в использовании `cordova-plugin-CordovaResourceApi` . `CordovaResourceApi`Есть несколько методов, которые можно обработать `cdvfile://` URL-адреса:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@
Это также можно использовать плагин файл непосредственно:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@
Для преобразования пути к `cdvfile://` URL-адрес:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
index cab37a6..6eec44d 100644
--- a/doc/zh/index.md
+++ b/doc/zh/index.md
@@ -17,7 +17,7 @@
under the License.
-->
-# org.apache.cordova.file
+# cordova-plugin-file
這個外掛程式實現檔 API 允許對檔駐留在該設備上的讀/寫訪問。
@@ -54,7 +54,7 @@
## 安裝
- cordova plugin add org.apache.cordova.file
+ cordova plugin add cordova-plugin-file
## 支援的平臺
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/65d3bddd/doc/zh/plugins.md
----------------------------------------------------------------------
diff --git a/doc/zh/plugins.md b/doc/zh/plugins.md
index 94c7254..4cf9c95 100644
--- a/doc/zh/plugins.md
+++ b/doc/zh/plugins.md
@@ -35,7 +35,7 @@
#### Android 系統
-在 android 系統,最簡單的方法來轉換 `cdvfile://` 檔案系統路徑的 URL 是使用 `org.apache.cordova.CordovaResourceApi` 。 `CordovaResourceApi`有幾種方法,可處理 `cdvfile://` 的 Url:
+在 android 系統,最簡單的方法來轉換 `cdvfile://` 檔案系統路徑的 URL 是使用 `cordova-plugin-CordovaResourceApi` 。 `CordovaResourceApi`有幾種方法,可處理 `cdvfile://` 的 Url:
// webView is a member of the Plugin class
CordovaResourceApi resourceApi = webView.getResourceApi();
@@ -47,8 +47,8 @@
它也是可以直接使用檔外掛程式:
- import org.apache.cordova.file.FileUtils;
- import org.apache.cordova.file.FileSystem;
+ import cordova-plugin-file.FileUtils;
+ import cordova-plugin-file.FileSystem;
import java.net.MalformedURLException;
// Get the File plugin from the plugin manager
@@ -64,7 +64,7 @@
要轉換的路徑從 `cdvfile://` 的 URL:
- import org.apache.cordova.file.LocalFilesystemURL;
+ import cordova-plugin-file.LocalFilesystemURL;
// Get a LocalFilesystemURL object for a device path,
// or null if it cannot be represented as a cdvfile URL.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org