@Test
public void isExist() {
File file = new File("C:/Service/DataService/Data/2018-04-02/10000001.db");
if (!file.exists()) {
System.out.println("no============");
}else {
System.out.println("yes============");
}
}
【版权声明】转载请注明出处:http://www.cnblogs.com/hsjava1/p/8745658.html