Class DeleteOnUnlock
java.lang.Object
com.seibel.distanthorizons.coreapi.util.jar.DeleteOnUnlock
Attempts to delete a given file path repeatedly until the file is unlocked.
NOTE: don't move this class. If this class is moved, then old jars won't be able to find it.
NOTE: don't move this class. If this class is moved, then old jars won't be able to find it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SUCCESS_EXIT_CODE
public static int SUCCESS_EXIT_CODE -
FAIL_EXIT_CODE
public static int FAIL_EXIT_CODE -
ERROR_EXIT_CODE
public static int ERROR_EXIT_CODE
-
-
Constructor Details
-
DeleteOnUnlock
public DeleteOnUnlock()
-
-
Method Details
-
main
args[0] the file path to delete. Should be encoded in UTF-8. args[1] the file path to write logs to, can be null.
-