org.reprap.utilities
Class RrDeleteOnExit

java.lang.Object
  extended by org.reprap.utilities.RrDeleteOnExit

public class RrDeleteOnExit
extends java.lang.Object

Gets round the fact that Java DeleteOnExit() doesn't do it in the right order.


Field Summary
private  java.util.ArrayList<java.io.File> toDelete
           
 
Constructor Summary
RrDeleteOnExit()
           
 
Method Summary
 void add(java.io.File f)
           
protected  void finalize()
           
 void killThem()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toDelete

private java.util.ArrayList<java.io.File> toDelete
Constructor Detail

RrDeleteOnExit

public RrDeleteOnExit()
Method Detail

add

public void add(java.io.File f)

killThem

public void killThem()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable