getFileSize

public static long getFileSize(File file)

Get the size of the specified file

Return

The length of the file

Parameters

file

The specified file