org.gcube.datatransformation.datatransformationlibrary.programs.misc
Class Zipper
java.lang.Object
org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram
org.gcube.datatransformation.datatransformationlibrary.programs.misc.Zipper
- All Implemented Interfaces:
- org.gcube.datatransformation.datatransformationlibrary.programs.Program
public class Zipper
- extends org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram
- Author:
- Dimitris Katris, NKUA
Creates zip files from single or multipart data elements.
|
Method Summary |
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
transformDataElement(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement sourceDataElement,
List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters,
org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType)
|
| Methods inherited from class org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram |
transform |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Zipper
public Zipper()
transformDataElement
public org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement transformDataElement(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement sourceDataElement,
List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters,
org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType)
throws Exception
- Specified by:
transformDataElement in class org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram
- 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:
Exception - If the program fails to transform the data element.- See Also:
Elm2ElmProgram.transformDataElement(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType)
Copyright © 2013. All Rights Reserved.