Java有没有比较两个文件夹内容的函数??
例如,这两个文件夹的文件数一样,大小一样等功能?
例如,这两个文件夹的文件数一样,大小一样等功能?
解决方案 »
- MyEclipse工具问题
- 求高手讲解用super调用父类构造器的程序在内存中执行的过程,并解释如下的程序执行过程。
- 在java 中,实现 a,b,c,d 四个字母按顺序任意组合排列有多少种,并打印出来的算法
- 帮忙看看代码哪错了.
- 如果发现需要的模块,就立刻执行,该怎么办?
- [110分]求javascript实现的类似java.net.URLEncoder.encode(String s) 的方法
- 急死了,毫无头绪
- 怎样在JTextPane中获得鼠标当前位子的字符?
- 请帮忙看一下我的程序编译通但,但运行却出错!!
- 关于javax.servlet.http类
- 关于java GUI设计的基本问题,在线等
- java1.5中不赞成使用 suspend()和resume(),应该如何挂起和恢复一个线程?
public int compareTo(File pathname)
Compares two abstract pathnames lexicographically. The ordering defined by this method depends upon the underlying system. On UNIX systems, alphabetic case is significant in comparing pathnames; on Microsoft Windows systems it is not. Parameters:
pathname - The abstract pathname to be compared to this abstract pathname
Returns:
Zero if the argument is equal to this abstract pathname, a value less than zero if this abstract pathname is lexicographically less than the argument, or a value greater than zero if this abstract pathname is lexicographically greater than the argument
Since:
1.2