|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.UpdateInstaller.FileGarbageCan
public class FileGarbageCan
Represents files that need to be deleted after a program completes. Files may be added to the can throughout program execution through a call to add, and may be deleted by a call to empty before the program terminates.
Method Summary | |
---|---|
static void |
add(File trash)
Add a file to the trash can. |
static void |
add(String trash)
Add a file to the trash can. |
static void |
empty()
Deletes all of the files in the trash can. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void add(File trash)
trash
- File to be deletedpublic static void add(String trash)
trash
- File to be deletedpublic static void empty()
File
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |