File 对象不是有 length() 方法?public long length()
Returns the length of the file denoted by this abstract pathname. The return value is unspecified if this pathname denotes a directory. 
翻翻 sdk 啊.