由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - How to know the size of a file in a prog
相关主题
type erasure weird problemHow to parse the bytes[]
How to know the size of a java object ?java compilation question
what is $1.class file in Java?help on this scope question
File generated by Java cannot be read by Android AppHelp with Tomcat for Eclipse v1.03
问个很简单的问题?ant javac error in eclipse 3.0?
help about bitstream writerProblem on ANT,JAVA,JSP,JSPPrecompiler
怎样吧byte[]变成java.security.Key?How big is the penalty for compile with debugging mode on?
怎麼得到字符串中的raw bytes?也问一个Eclipse的问题
相关话题的讨论汇总
话题: prog话题: know话题: size话题: file话题: java
进入Java版参与讨论
1 (共1页)
w*l
发帖数: 43
1
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
g*****g
发帖数: 34805
2
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*l
发帖数: 43
3
Thanks. But I hope to know the number of bytes of file not the number of
lines. Can you help me again? Thank you.

【在 g*****g 的大作中提到】
: File.length();
w********c
发帖数: 2632
4
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.

1 (共1页)
进入Java版参与讨论
相关主题
也问一个Eclipse的问题问个很简单的问题?
QT is LGPL nowhelp about bitstream writer
刚刚开始学习java,麻烦帮我看一下我哪里错了行吗?谢谢怎样吧byte[]变成java.security.Key?
其实JSP也不错怎麼得到字符串中的raw bytes?
type erasure weird problemHow to parse the bytes[]
How to know the size of a java object ?java compilation question
what is $1.class file in Java?help on this scope question
File generated by Java cannot be read by Android AppHelp with Tomcat for Eclipse v1.03
相关话题的讨论汇总
话题: prog话题: know话题: size话题: file话题: java