• Home
Name Date Size #Lines LOC

..--

figures/12-May-2024-

frameworks/innerkits/12-May-2024-10,9038,379

interfaces/kits/napi/12-May-2024-3,6812,816

services/12-May-2024-853735

utils/12-May-2024-12276

BUILD.gnD12-May-2024617 1513

LICENSED12-May-20249.9 KiB177150

README.mdD12-May-2024968 3725

README_zh.mdD12-May-20242.3 KiB4932

bundle.jsonD12-May-20242.2 KiB5554

filemanagement_aafwk.gniD12-May-2024942 1917

README.md

1# storage_user_file_manger
2
3#### Description
4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
5
6#### Software Architecture
7Software architecture description
8
9#### Installation
10
111.  xxxx
122.  xxxx
133.  xxxx
14
15#### Instructions
16
171.  xxxx
182.  xxxx
193.  xxxx
20
21#### Contribution
22
231.  Fork the repository
242.  Create Feat_xxx branch
253.  Commit your code
264.  Create Pull Request
27
28
29#### Gitee Feature
30
311.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
322.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
333.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
344.  The most valuable open source project [GVP](https://gitee.com/gvp)
355.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
366.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
37

README_zh.md

1# 公共文件访问框架
2
3## 简介
4
5公共文件访问框架(FileAccessFramework)提供了一套公共文件访问和管理的接口。
6
7公共文件访问框架中FileAccessFramework向下对接底层文件管理服务,如medialibrary、externalFileManager。FileAccessFramework向上对接应用,提供对公共文件操作的基础能力,如图1。
8
9支持能力列举如下:
10- 查询、创建、删除、打开、移动、重命名用户公共文件路径下媒体文件和文档文件。媒体文件包括图片、音频、视频, 通过相册方式呈现。文档文件则以目录树方式呈现。
11
12- 查询、创建、删除、打开、移动、重命名共享盘设备上的文件。文件以目录树方式呈现。
13
14- 查询、创建、删除、打开、移动、重命名外置存储设备上的文件。文件以目录树方式呈现。
15
16**图 1**  公共文件访问框架架构图
17![](figures/file_access_framework.png "公共文件访问框架架构图")
18
19## 目录
20
21仓目录结构如下:
22```
23/foundation/storage/user_file_service
24├── figures                                     # 插图文件
25├── service                                     # 服务实现
26│   ├── etc                                     # 内部接口实现
27│   ├── src                                     # 内部接口实现
28├── interfaces                                  # 接口代码
29│   ├── innerkits                               # 内部 Native 接口
30│   └── kits                                    # 外部 JS 接口
31├── BUILD.gn                                    # 编译入口
32└── bundle.json                                 # 部件描述文件
33```
34
35## 约束
36接口支持情况:FileAccessFramework 所有接口目前仅支持文件管理器和文件选择器,且需要基于stage模型。
37
38## 相关仓
39[媒体库服务](https://gitee.com/openharmony/multimedia_medialibrary_standard)
40[存储管理服务](https://gitee.com/openharmony/filemanagement_storage_service)
41[文件访问接口](https://gitee.com/openharmony/filemanagement_file_api)
42[多用户管理](http:////gitee.com/openharmony/account_os_account)
43[**公共文件访问框架**](https://gitee.com/openharmony/filemanagement_user_file_service)
44
45
46
47
48
49