|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deploy.shared.FileArchive.StaleFileManager.Util
public static class FileArchive.StaleFileManager.Util
| Constructor Summary | |
|---|---|
FileArchive.StaleFileManager.Util()
|
|
| Method Summary | |
|---|---|
static FileArchive.StaleFileManager |
getInstance(java.io.File archive)
Factory method for a StaleFileManager. |
static void |
markDeletedArchive(Archive archive)
Creates a marker file in the archive directory - if it still exists and contains any stale files. |
static void |
markDeletedArchive(java.io.File archiveFile)
Creates a marker file in the archive directory - if it still exists and contains any stale files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileArchive.StaleFileManager.Util()
| Method Detail |
|---|
public static void markDeletedArchive(Archive archive)
archive - the File for the archive to markpublic static void markDeletedArchive(java.io.File archiveFile)
archive - the File for the archive to mark
public static FileArchive.StaleFileManager getInstance(java.io.File archive)
throws java.io.IOException
Callers should invoke this method only after they have finished with the FileArchive and have tried to delete it. If the directory for the archive remains then it contains one or more stale files that could not be deleted, and the factory method returns a instance that tracks the stale files. If the directory no longer exists then the delete succeeded, there are
archive - the directory to contain the archive
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||