How to know the size of a file in a prog# Java - 爪哇娇娃w*l2003-06-06 07:061 楼I am compiling a program and I have to use a function in Java to know thesize of some files. How can I do? Thanks
g*g2003-06-06 07:062 楼File.length();【在 w*l 的大作中提到】: I am compiling a program and I have to use a function in Java to know the: size of some files. How can I do? Thanks
w*l2003-06-06 07:063 楼Thanks. But I hope to know the number of bytes of file not the number oflines. Can you help me again? Thank you.【在 g*****g 的大作中提到】: File.length();
w*c2003-06-06 07:064 楼that's what it does【在 w*l 的大作中提到】: Thanks. But I hope to know the number of bytes of file not the number of: lines. Can you help me again? Thank you.