| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static boolean | |
| public static void | |
| pack-priv static void |
| FILES | back to summary |
|---|---|
| private static final Set<String> FILES | |
| DeleteFileOnExitHook | back to summary |
|---|---|
| private DeleteFileOnExitHook() | |
| add | back to summary |
|---|---|
| public static void add(String file) Add to the hook and clean up when the program exits.
| |
| checkFileExist | back to summary |
|---|---|
| public static boolean checkFileExist(String file) Check in the hook files.
| |
| remove | back to summary |
|---|---|
| public static void remove(String file) Remove from the pool to reduce space footprint.
| |
| runHook | back to summary |
|---|---|
| pack-priv static void runHook() Clean up all the files. | |