getFileInfoByFile

public static FileInfo getFileInfoByFile(File file)

通过 file 获取文件名称,大小,类型

Return

ContentDocument 返回文件名称,大小,类型

Parameters

file