net.killingar.actions
Class DownloadZip

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by net.killingar.actions.ActionSupport
          extended by net.killingar.actions.PathActionSupport
              extended by net.killingar.actions.DownloadZip
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.IllegalArgumentAware, webwork.action.SessionAware

public class DownloadZip
extends PathActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DownloadZip()
           
 
Method Summary
 java.lang.String doExecute()
           
 boolean getRecursive()
           
 void setRecursive(boolean in)
           
static void traverse(javax.servlet.http.HttpServletRequest req, java.lang.String path, FileZipOutputStream out, boolean recursive, int step)
           
 
Methods inherited from class net.killingar.actions.PathActionSupport
execute, getPath, getRealPath
 
Methods inherited from class net.killingar.actions.ActionSupport
setSession
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadZip

public DownloadZip()
Method Detail

getRecursive

public boolean getRecursive()

setRecursive

public void setRecursive(boolean in)

doExecute

public java.lang.String doExecute()
Overrides:
doExecute in class webwork.action.ActionSupport

traverse

public static void traverse(javax.servlet.http.HttpServletRequest req,
                            java.lang.String path,
                            FileZipOutputStream out,
                            boolean recursive,
                            int step)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005 Anders Hovmoller All Rights Reserved.