org.n52.wps.transactional.deploy.bpel.apache
Class ZipCreator

java.lang.Object
  extended by org.n52.wps.transactional.deploy.bpel.apache.ZipCreator

public class ZipCreator
extends java.lang.Object

Author:
hoffmannn

Field Summary
static int BUF_SIZE
           
static int STATUS_IN_FAIL
           
static int STATUS_OK
           
static int STATUS_OUT_FAIL
           
static int STATUS_UNZIP_FAIL
           
static int STATUS_ZIP_FAIL
           
 
Constructor Summary
ZipCreator()
           
 
Method Summary
static java.lang.String getStatusMessage(int msg_number)
          Return a brief message for each status number.
static int makeZIP(java.lang.String processID, org.w3c.dom.Node suitcase, org.w3c.dom.Node workflow, org.w3c.dom.Node clientWSDL, java.util.Map<java.lang.Integer,org.w3c.dom.Node> wsdlList, java.io.File zipFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUF_SIZE

public static final int BUF_SIZE
See Also:
Constant Field Values

STATUS_OK

public static final int STATUS_OK
See Also:
Constant Field Values

STATUS_OUT_FAIL

public static final int STATUS_OUT_FAIL
See Also:
Constant Field Values

STATUS_ZIP_FAIL

public static final int STATUS_ZIP_FAIL
See Also:
Constant Field Values

STATUS_IN_FAIL

public static final int STATUS_IN_FAIL
See Also:
Constant Field Values

STATUS_UNZIP_FAIL

public static final int STATUS_UNZIP_FAIL
See Also:
Constant Field Values
Constructor Detail

ZipCreator

public ZipCreator()
Method Detail

getStatusMessage

public static java.lang.String getStatusMessage(int msg_number)
Return a brief message for each status number.


makeZIP

public static int makeZIP(java.lang.String processID,
                          org.w3c.dom.Node suitcase,
                          org.w3c.dom.Node workflow,
                          org.w3c.dom.Node clientWSDL,
                          java.util.Map<java.lang.Integer,org.w3c.dom.Node> wsdlList,
                          java.io.File zipFile)
                   throws java.io.IOException,
                          javax.xml.parsers.ParserConfigurationException,
                          javax.xml.transform.TransformerFactoryConfigurationError,
                          javax.xml.transform.TransformerException
Throws:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException


Copyright © 2007-2011 52north.org. All Rights Reserved.