org.gcube.datatransformation.datatransformationlibrary.programs.misc
Class Zipper

java.lang.Object
  extended by Elm2ElmProgram
      extended by org.gcube.datatransformation.datatransformationlibrary.programs.misc.Zipper

public class Zipper
extends Elm2ElmProgram

Author:
Dimitris Katris, NKUA

Creates zip files from single or multipart data elements.


Constructor Summary
Zipper()
           
 
Method Summary
 DataElement transformDataElement(DataElement sourceDataElement, java.util.List<Parameter> programParameters, ContentType targetContentType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zipper

public Zipper()
Method Detail

transformDataElement

public DataElement transformDataElement(DataElement sourceDataElement,
                                        java.util.List<Parameter> programParameters,
                                        ContentType targetContentType)
                                 throws java.lang.Exception
Parameters:
sourceDataElement - The data element which will be transformed.
programParameters - The parameters of the Program.
targetContentType - The ContentType in which the DataElement will be transformed.
Returns:
The transformed data element.
Throws:
java.lang.Exception - If the program fails to transform the data element.
See Also:
org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram#transformDataElement(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType)