Package java.io
Class File

Public Method length

int length()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the length of the file denoted by this abstract pathname in bytes or 0 if the file doesn't exist. For directories the value is undefined.

Note that this value might become negative when the file is bigger than 2147483647 (0x7FFFFFFF) bytes.
(Conversion to float: float f = ret < 0 ? 4294967296f - (float)ret : (float)ret;)