public class FileRemover extends java.lang.Object
Utility for deleting files, which may be locked, in an external process run after ReadyAPI exits.
Throughout this class, System.out and System.err are used rather than a logging framework. This is by design, to reduce the external dependencies and complexity of the class. The external process logs to the file delete.log in the .readyapi/logs directory.| Modifiers | Name | Description |
|---|---|---|
static class |
FileRemover.ShutdownHook |
| Modifiers | Name | Description |
|---|---|---|
static int |
MAX_ENV_VARIABLE_LENGTH |
Can be increased or decreased depending on the platform. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static void |
addFileToDelete(java.io.File file) |
|
public static void |
launchAsExternalProcess() |
|
public static void |
main(java.lang.String[] args) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |