|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.util.TemporaryDirectory
public class TemporaryDirectory
Manages the life-cycle of a temporary directory
| Constructor Summary | |
|---|---|
TemporaryDirectory(Info.TempDir tempDirDescription,
InstallData installData,
Housekeeper housekeeper)
Define a temporary directory |
|
| Method Summary | |
|---|---|
void |
cleanUp()
Deletes the temporary directory and all it's contents immediately |
void |
create()
Creates the temporary directory and sets the install data variable to point to it |
void |
deleteOnExit()
Configure this temporary directory to be deleted when the installer exits This will delete the directory and all of its contents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemporaryDirectory(Info.TempDir tempDirDescription,
InstallData installData,
Housekeeper housekeeper)
tempDirDescription - describes the parameters of the directory to be createdinstallData - The install data in to which the temporary directories variable will be writtenhousekeeper - the house-keeper| Method Detail |
|---|
public void create()
throws IOException
IOException - if creation of the directory failspublic void deleteOnExit()
public void cleanUp()
cleanUp in interface CleanupClient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||