日期:2014-05-20 浏览次数:20850 次
public void process(File file) {
if (file != null) {
if (file.exists()) {
if (!file.isDirectory()) {
if (file.canRead()) {
// do something;
}
}
}
}
}