/** * No longer automatically delete the file once it is no longer in use. */ public void stopAutoDelete() { handler.getTempFileDeleter().stopAutoDelete(autoDeleteReference, name); autoDeleteReference = null; }
/** * Automatically delete the file once it is no longer in use. */ public void autoDelete() { if (autoDeleteReference == null) { autoDeleteReference = handler.getTempFileDeleter().addFile(name, this); } }
/** * Close the file (ignoring exceptions) and delete the file. */ public void closeAndDeleteSilently() { if (file != null) { closeSilently(); handler.getTempFileDeleter().deleteFile(autoDeleteReference, name); name = null; } }
/** * No longer automatically delete the file once it is no longer in use. */ public void stopAutoDelete() { handler.getTempFileDeleter().stopAutoDelete(autoDeleteReference, name); autoDeleteReference = null; }
/** * Automatically delete the file once it is no longer in use. */ public void autoDelete() { if (autoDeleteReference == null) { autoDeleteReference = handler.getTempFileDeleter().addFile(name, this); } }
/** * Automatically delete the file once it is no longer in use. */ public void autoDelete() { if (autoDeleteReference == null) { autoDeleteReference = handler.getTempFileDeleter().addFile(name, this); } }
/** * No longer automatically delete the file once it is no longer in use. */ public void stopAutoDelete() { handler.getTempFileDeleter().stopAutoDelete(autoDeleteReference, name); autoDeleteReference = null; }
/** * Close the file (ignoring exceptions) and delete the file. */ public void closeAndDeleteSilently() { if (file != null) { closeSilently(); handler.getTempFileDeleter().deleteFile(autoDeleteReference, name); name = null; } }
/** * Close the file (ignoring exceptions) and delete the file. */ public void closeAndDeleteSilently() { if (file != null) { closeSilently(); handler.getTempFileDeleter().deleteFile(autoDeleteReference, name); name = null; } }