Class TempFileList


  • @Deprecated
    public class TempFileList
    extends Object
    Deprecated.
    Please use TempFileContext as File.deleteOnExit() is prone to memory leaks in long-running applications.
    Manages a set of temporary files. When a context is completed, all temporary files created within that context may be deleted by calling delete on its list.

    For example, a context might be the lifecycle of serving one HTTP request. Once the request has been completed, any temporary files created should be cleaned-up immediately instead of waiting an indeterminate amount of time for

    Author:
    AO Industries, Inc.
    See Also:
    TempFile