@@ -5,9 +5,11 @@ Lightweight storage provides applications with data processing capability and al
...
@@ -5,9 +5,11 @@ Lightweight storage provides applications with data processing capability and al
> **NOTE**
> **NOTE**
>
>
> - The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> - The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
>
>
> - The APIs of this module are no longer maintained since API Version 9. You are advised to use [`@ohos.data.preferences`](js-apis-data-preferences.md).
> - The APIs of this module are no longer maintained since API version 9. You are advised to use [`@ohos.data.preferences`](js-apis-data-preferences.md).
>
> - The APIs of this module can be used only in the FA model.
## Modules to Import
## Modules to Import
...
@@ -36,15 +38,15 @@ Reads the specified file and loads its data to the **Storage** instance for data
...
@@ -36,15 +38,15 @@ Reads the specified file and loads its data to the **Storage** instance for data
| key | string | Yes | Key of the data. It cannot be empty. |
| key | string | Yes | Key of the data. It cannot be empty. |
| defValue | [ValueType](#valuetype) | Yes | Default value to be returned if the value of the specified key does not exist. It can be a number, string, or Boolean value. |
| defValue | [ValueType](#valuetype) | Yes | Default value to be returned if the value of the specified key does not exist. It can be a number, string, or Boolean value.|