IT. Expert System.

Android Reference

DeleteOnExit


org.apache.harmony.luni.util

Class DeleteOnExit

  • All Implemented Interfaces:
    Runnable


    public class DeleteOnExit
    extends Thread
    Implements the actual DeleteOnExit mechanism. Is registered as a shutdown hook in the Runtime, once it is actually being used.
    • Constructor Detail

      • DeleteOnExit

        public DeleteOnExit()
    • Method Detail

      • getInstance

        public static DeleteOnExit getInstance()
        Returns our singleton instance, creating it if necessary.
      • addFile

        public void addFile(String filename)
        Schedules a file for deletion.
        Parameters:
        filename - The file to delete.
      • run

        public void run()
        Does the actual work. Note we (a) first sort the files lexicographically and then (b) delete them in reverse order. This is to make sure files get deleted before their parent directories.
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
        See Also:
        Thread.start()


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 554 / 158799578. Delta: 0.02809 с