| java.lang.Object org.objectweb.jonas_lib.deployment.work.FileManager
All known Subclasses: org.objectweb.jonas_lib.deployment.work.EarFileManager,
FileManager | public class FileManager (Code) | | JOnAS File manager.
This class provides a way for managing the working package files.
author: Florent Benoit |
Constructor Summary | |
protected | FileManager() Constructor. |
Method Summary | |
protected static void | dump(InputStream in, File earEntryFile) Write an input stream to a given file. | public static String | fileToTimeStampDir(URL urlFileName) Give the unpack destination directory of the specified file.
Parameters: urlFileName - the url of the name of the EAR file (ends with the.ear extension). | public static String | fileToTimeStampDir(URL urlFileName, String ext) Give the unpack destination directory of the specified file. |
FileManager | protected FileManager()(Code) | | Constructor. Private as it is an utility class
|
fileToTimeStampDir | public static String fileToTimeStampDir(URL urlFileName) throws FileManagerException(Code) | | Give the unpack destination directory of the specified file.
Parameters: urlFileName - the url of the name of the EAR file (ends with the.ear extension). the timestamp destination directory of the specified file. throws: FileManagerException - if we can't get the timestamp. |
fileToTimeStampDir | public static String fileToTimeStampDir(URL urlFileName, String ext) throws FileManagerException(Code) | | Give the unpack destination directory of the specified file.
Parameters: urlFileName - the url of the name of the EAR file (ends with the.ear extension). Parameters: ext - the suffix to concatenate to the build name the timestamp destination directory of the specified file. throws: FileManagerException - if we can't get the timestamp. |
|
|