Beispiel #1
0
 /**
  * Cancels the data loading.
  *
  * @see EditorLoader#cancel()
  */
 public void cancel() {
   handle.cancel();
   if (file != null) file.delete();
   if (filesMap != null) {
     Entry entry;
     Iterator i = filesMap.entrySet().iterator();
     File f;
     while (i.hasNext()) {
       entry = (Entry) i.next();
       f = (File) entry.getValue();
       f.delete();
     }
   }
 }
 /**
  * Cancels the data loading.
  *
  * @see MetadataLoader#cancel()
  */
 public void cancel() {
   handle.cancel();
 }