|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_lib.deployment.work.FileManager
JOnAS File manager.
This class provides a way for managing the working package files.
| Constructor Summary | |
protected |
FileManager()
Constructor. |
| Method Summary | |
protected static void |
dump(java.io.InputStream in,
java.io.File earEntryFile)
Write an input stream to a given file. |
static java.lang.String |
fileToTimeStampDir(java.net.URL urlFileName)
Give the unpack destination directory of the specified file. |
static java.lang.String |
fileToTimeStampDir(java.net.URL urlFileName,
java.lang.String ext)
Give the unpack destination directory of the specified file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected FileManager()
| Method Detail |
public static java.lang.String fileToTimeStampDir(java.net.URL urlFileName)
throws FileManagerException
urlFileName - the url of the name of the EAR file (ends with the
.ear extension).
FileManagerException - if we can't get the timestamp.
public static java.lang.String fileToTimeStampDir(java.net.URL urlFileName,
java.lang.String ext)
throws FileManagerException
urlFileName - the url of the name of the EAR file (ends with the
.ear extension).ext - the suffix to concatenate to the build name
FileManagerException - if we can't get the timestamp.
protected static void dump(java.io.InputStream in,
java.io.File earEntryFile)
throws FileManagerException
in - the inputStream.earEntryFile - the file where the inputstream must be dumped.
FileManagerException - if the dump failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||