com.jfw.update
Class ContainerUpdate

java.lang.Object
  extended by com.jfw.update.JFWUpdate
      extended by com.jfw.update.ContainerUpdate

public class ContainerUpdate
extends JFWUpdate

Extract files from the update file. The update file contains all thew other types of updates files. A valid name for the update file is one who start with update, example update-dateandtime.zip.


Field Summary
static java.lang.String CONTAINER_FILE
          The name of the main update file.
 
Constructor Summary
ContainerUpdate()
           
 
Method Summary
 boolean start()
          Elaborate the update files.
 
Methods inherited from class com.jfw.update.JFWUpdate
cleanWebWork, deleteFile, getFiles, getGenericFilePath, getUpdateSrcPath, getUpdateWebTargetPath, getWebappPath, getWebWorkPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINER_FILE

public static final java.lang.String CONTAINER_FILE
The name of the main update file. Only files start with this name will be elaborated by this class.

See Also:
Constant Field Values
Constructor Detail

ContainerUpdate

public ContainerUpdate()
Method Detail

start

public boolean start()
              throws java.lang.Exception
Elaborate the update files. The zip file will be extract in same directory of the update file.

Specified by:
start in class JFWUpdate
Returns:
true if has been found an update file, false in other case.
Throws:
java.lang.Exception