Public Member Functions | |
void | addDir (File file) |
boolean | deleteAll () |
File | createDir () throws IOException |
Static Public Member Functions | |
TempRepository | getInstance () |
TempRepository
object is tye main container for temporary directories. When an object of WsGen or ClientStubGen wants to use a temporary directory, it ask TempRepository instance to create a new one. It is usefull when multiples tempo directories are created. Deletion is much more simpler. The TempRepository is a Singleton.
Definition at line 42 of file TempRepository.java.
|
Add a temporary File in the repository (file or directory).
Definition at line 75 of file TempRepository.java. |
|
Return an empty temporary directory and automatically add it into the repository.
Definition at line 134 of file TempRepository.java. Referenced by org.objectweb.jonas_lib.genbase.generator.AbsGenerator.AbsGenerator(), and org.objectweb.jonas_lib.genbase.utils.FileUtils.unpack(). |
|
Delete all the files contained in the repository. Returns true when deletion is successfull, false otherwise.
Definition at line 85 of file TempRepository.java. |
|
Return the only instance of TempRepository.
Definition at line 62 of file TempRepository.java. |