Пример #1
0
 @Override
 protected StringFile createStringFile() {
   String dir = ConfigTest.getTestingDir();
   clearDirectory(dir);
   Location loc = Location.create(dir);
   fn = loc.getPath("xyz", "node");
   FileOps.delete(fn);
   return FileFactory.createStringFileDisk(fn);
 }
Пример #2
0
 @Override
 protected void removeStringFile(StringFile f) {
   f.close();
   FileOps.delete(fn);
 }
Пример #3
0
 protected void deleteSpillFiles() {
   for (File file : spillFiles) {
     FileOps.delete(file, false);
   }
   spillFiles.clear();
 }