Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.core.io.project.impl
Class ArchiveProjectWriter

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
      extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractExportProvider
          extended by eu.esdihumboldt.hale.common.core.io.project.impl.AbstractProjectWriter
              extended by eu.esdihumboldt.hale.common.core.io.project.impl.ArchiveProjectWriter
All Implemented Interfaces:
ExportProvider, IOProvider, ProjectWriter

public class ArchiveProjectWriter
extends AbstractProjectWriter

Save projects (including all related resources) as an archive (zip)

Author:
Patrick Lieb

Field Summary
static String EXLUDE_DATA_FILES
          Parameter for including or excluding data files
static String INCLUDE_WEB_RESOURCES
          Parameter for including or excluding web resources
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ExportProvider
PARAM_TARGET
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
PARAM_CONTENT_TYPE
 
Constructor Summary
ArchiveProjectWriter()
           
 
Method Summary
protected  IOReport execute(ProgressIndicator progress, IOReporter reporter)
          Execute the I/O provider.
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.project.impl.AbstractProjectWriter
getDefaultTypeName, getProject, getProjectFiles, isCancelable, setProject, setProjectFiles
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractExportProvider
createReporter, getTarget, setParameter, setTarget, storeConfiguration, validate
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
addSupportedParameter, execute, fail, getContentType, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.ExportProvider
getTarget, setTarget
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
createReporter, execute, getContentType, getParameter, getSupportedParameters, loadConfiguration, setContentType, setParameter, storeConfiguration, validate
 

Field Detail

INCLUDE_WEB_RESOURCES

public static final String INCLUDE_WEB_RESOURCES
Parameter for including or excluding web resources

See Also:
Constant Field Values

EXLUDE_DATA_FILES

public static final String EXLUDE_DATA_FILES
Parameter for including or excluding data files

See Also:
Constant Field Values
Constructor Detail

ArchiveProjectWriter

public ArchiveProjectWriter()
Method Detail

execute

protected IOReport execute(ProgressIndicator progress,
                           IOReporter reporter)
                    throws IOProviderConfigurationException,
                           IOException
Description copied from class: AbstractIOProvider
Execute the I/O provider.

Specified by:
execute in class AbstractIOProvider
Parameters:
progress - the progress indicator
reporter - the reporter to use for the execution report
Returns:
the execution report
Throws:
IOProviderConfigurationException - if the I/O provider was not configured properly
IOException - if an I/O operation fails

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d