现在的位置: 首页 > 综合 > 正文

java中如何得到文件的大小?谢谢

2013年10月12日 ⁄ 综合 ⁄ 共 51字 ⁄ 字号 评论关闭

File   temp=new   File(文件);  
  int   length=temp.length();

 

抱歉!评论已关闭.