Package be.ehealth.technicalconnector.shutdown

# Class DeleteFileOnExitShutdownHook

java.lang.Object
be.ehealth.technicalconnector.shutdown.DeleteFileOnExitShutdownHook

All Implemented Interfaces:
  `ShutdownHook`

public class DeleteFileOnExitShutdownHook extends Object implements ShutdownHook

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `SYS_PROP_DELETE_ON_EXIT`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `deleteOnExit(File file)`
  `static void`
  `execute()`
  `void`
  `shutdown()`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### SYS_PROP_DELETE_ON_EXIT

    public static final String SYS_PROP_DELETE_ON_EXIT
    See Also:
      - Constant Field Values

- ## Method Details

  - ### execute

    public static void execute()

  - ### deleteOnExit

    public static void deleteOnExit(File file)

  - ### shutdown

    public void shutdown()
    Specified by:
      `shutdown` in interface `ShutdownHook`