getFileInfoByFile

public static FileInfo getFileInfoByFile(File file)

Retrieves the file name, size, and type from the file

Return

ContentDocument Returns the file name, size, and type

Parameters

file