fr.paris.lutece.plugins.pluginwizard.service
Class PluginWizardZipService
java.lang.Object
fr.paris.lutece.plugins.pluginwizard.service.PluginWizardZipService
public class PluginWizardZipService
- extends Object
The zip service will pack all the chosen files and create an archive
Method Summary |
byte[] |
exportZip(javax.servlet.http.HttpServletRequest request)
Exports the files in a byte array |
static PluginWizardZipService |
getInstance()
Gets the unique instance of the PluginWizardZipService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginWizardZipService
public PluginWizardZipService()
getInstance
public static PluginWizardZipService getInstance()
- Gets the unique instance of the PluginWizardZipService
- Returns:
- The unique instance of the PluginWizardZipService
exportZip
public byte[] exportZip(javax.servlet.http.HttpServletRequest request)
- Exports the files in a byte array
- Parameters:
request
- The Http request
- Returns:
- An array of byte which is the content of the archive
Copyright © 2013 Mairie de Paris. All Rights Reserved.