getFileSize

public static long getFileSize(File file)

Gets the size of the specified file.

Return

file length

Parameters

file

the file