目录

About This Kit

Core File Kit provides capabilities for accessing and managing application files and user files. You can use the APIs provided by Core File Kit to manage, search for, and back up different types of files efficiently.

Overview

In Core File Kit, the files are classified into the following types based on the file owner:

The file systems can be classified into the following types based on the file storage location (location of the data source):

Figure 1 File classification model

Core File Kit provides high-performance compression and decompression capabilities, which are classified into the following types based on usage scenarios:

When to Use

You can use Core File Kit in any of the following scenarios:

Available Capabilities

Features

Working Principles

[h2]Application File Access Framework

The application file access framework is implemented through ohos.file.fs. You do not need to care about the internal implementation. For details about the basic file operation APIs, see Available APIs.

[h2]User File Access Framework

You can use the user file access framework to access and manage user files. This framework leverages the ExtensionAbility of HarmonyOS to provide a set of methods and interfaces for accessing user files.

Figure 2 User file access framework

Emulator Support

Some capabilities of this Kit are not supported on the Emulator, as described below.

For details, please refer to Differences Between the Emulator and the Real Device.