
TFile.umount()以提交所有更改。
然后使用以下方法获取未检测到存档文件的TFile并调用其length()方法:
private static TFile newNonArchiveFile(TFile file) { return new TFile(file.getParentFile(), file.getName(), TArchiveDetector.NULL);}欢迎分享,转载请注明来源:内存溢出

TFile.umount()以提交所有更改。
然后使用以下方法获取未检测到存档文件的TFile并调用其length()方法:
private static TFile newNonArchiveFile(TFile file) { return new TFile(file.getParentFile(), file.getName(), TArchiveDetector.NULL);}欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)