摘要:
importjava.io.File;importjava.io.IOException;publicclassTestReadSubDirectory{publicstaticvoidmain(String[]args)throwsIOException{TestReadSubDirectoryp=newTestReadSubDirectory();p.read("\\user\\123\\1");}publicvoidread(Stringfilepath)throwsIOException{Filef=newFile(filepath);//定义文件路径if(f.ex 阅读全文