|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.work.FileManager org.objectweb.jonas_lib.deployment.work.EarFileManager
JOnAS Ear File manager. This class provides a way for managing the EAR files.
Method Summary | |
protected static boolean |
isUnpackedEar(java.net.URL urlFileName,
java.net.URL urlDirName)
true If an unpacked directory has the same timestamp than the EAR file, false otherwise. |
static java.net.URL |
unpackEar(java.net.URL urlFileName,
java.net.URL urlDirName)
Unpack the given EAR file to the specified directory. |
static java.net.URL |
unpackEar(java.net.URL urlFileName,
java.net.URL urlDirName,
boolean useTimeStamp)
Unpack the given EAR file to the specified directory. |
Methods inherited from class org.objectweb.jonas_lib.deployment.work.FileManager |
dump, fileToTimeStampDir, fileToTimeStampDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
protected static boolean isUnpackedEar(java.net.URL urlFileName, java.net.URL urlDirName) throws FileManagerException
urlFileName
- the url of the name of the EAR file (ends with the
.ear extension).urlDirName
- the url of the directory where the file must be
unpacked.
FileManagerException
- if the file doesn't existpublic static java.net.URL unpackEar(java.net.URL urlFileName, java.net.URL urlDirName) throws FileManagerException
urlFileName
- the url of the name of the EAR file to unpack.urlDirName
- the url of the destination directory where is unpacked
the EAR file.
FileManagerException
- if we can't unpack the file.public static java.net.URL unpackEar(java.net.URL urlFileName, java.net.URL urlDirName, boolean useTimeStamp) throws FileManagerException
urlFileName
- the url of the name of the EAR file to unpack.urlDirName
- the url of the destination directory where is unpacked
the EAR file.useTimeStamp
- use timestamping for unpacking the EAR or not
FileManagerException
- if we can't unpack the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |