getFileSize

public static long getFileSize(File file)

获取指定文件大小

Return

文件长度

Parameters

file

指定文件