openharmony 鸿蒙 capi-fileuri

2026-08-25 浏览 (1)

fileUri

Overview

The FileUri module provides APIs for manipulating file Uniform Resource Identifiers (URIs).
It supports conversion between file URIs and paths, and verifies the validity of file URIs.
It is mainly used to verify the URI format and convert URIs. When files are shared between applications, the application sandbox path is converted into a URI based on specific rules.
You must ensure that all input parameters of the API are valid. The converted URI will be output regardless of whether it exists or not.

System capability: SystemCapability.FileManagement.AppFileService

Since: 12

Files

NameDescription
oh_file_uri.hProvides APIs for URI operations, including performing URI-path conversion, obtaining directory URIs, and verifying URIs.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-file-environment-sys

openharmony 鸿蒙 js-apis-file-fs

openharmony 鸿蒙 capi-clouddisk-clouddisk-pathinfo

openharmony 鸿蒙 capi-clouddisk-clouddisk-changesresult

openharmony 鸿蒙 capi-clouddisk-clouddisk-syncfolder

openharmony 鸿蒙 js-apis-fileShare

openharmony 鸿蒙 capi-fileio

openharmony 鸿蒙 js-apis-file-storage-statistics-sys

openharmony 鸿蒙 js-apis-file-cloudsyncmanager

openharmony 鸿蒙 js-apis-file-environment

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/QrJHGG0h