public class DeleteOnHaltHook
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
add(java.lang.String file)
Adds a file to the set of files to be deleted when
Runtime.halt(int) is to be invoked.
|
static void |
runHooks()
Deletes the files which have been registered for deletion when
Runtime.halt(int) is to be invoked.
|
public static void add(java.lang.String file)
file
- the name of the file to be deleted when
Runtime.halt(int) is to be invokedpublic static void runHooks()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.