org.licas.security

## Class UtilsManager

- java.lang.Object
- - org.licas.security.UtilsManager

- All Implemented Interfaces:
    UtilsManagerDef

      public class UtilsManager
      extends java.lang.Object
      implements UtilsManagerDef

  For managing server resources. To be used internally by the system.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UtilsManager()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `emptyTempDir(long fileAge)` Empty the temp directory of files.
    `void` | `webFolder(long time)` Check the web folder and delete any temporary files.

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

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

- - ### Constructor Detail

    - #### UtilsManager

          public UtilsManager()

  - ### Method Detail

    - #### webFolder

          public void webFolder(long time)

      Check the web folder and delete any temporary files.
      Specified by:
        `webFolder` in interface `UtilsManagerDef`
      Parameters:
        `time` - temp files older than `(current - time) milliseconds`, are deleted.

    - #### emptyTempDir

          protected void emptyTempDir(long fileAge)

      Empty the temp directory of files.
      Parameters:
        `fileAge` - maximum age of file.