org.gcube.datatransformation.datatransformationlibrary.programs.graphs
Class GnuplotWrapper

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram
      extended by org.gcube.datatransformation.datatransformationlibrary.programs.File2FileProgram
          extended by org.gcube.datatransformation.datatransformationlibrary.programs.graphs.GnuplotWrapper
All Implemented Interfaces:
org.gcube.datatransformation.datatransformationlibrary.programs.Program

public class GnuplotWrapper
extends org.gcube.datatransformation.datatransformationlibrary.programs.File2FileProgram

Wraps the functionality of Gnuplot command line program

Author:
john.gerbesiotis - DI NKUA

Constructor Summary
GnuplotWrapper()
           
 
Method Summary
 File transformFile(File sourceFile, List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters, org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType, String targetContentPath)
           
 
Methods inherited from class org.gcube.datatransformation.datatransformationlibrary.programs.File2FileProgram
transformDataElement
 
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
 

Constructor Detail

GnuplotWrapper

public GnuplotWrapper()
Method Detail

transformFile

public File transformFile(File sourceFile,
                          List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters,
                          org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType,
                          String targetContentPath)
                   throws Exception
Specified by:
transformFile in class org.gcube.datatransformation.datatransformationlibrary.programs.File2FileProgram
Parameters:
sourceFile - The source file.
programParameters - The parameters of the Program.
targetContentType - The ContentType in which the DataElement will be transformed.
targetContentPath - The path for the transformed content.
Returns:
The file with the transformed content.
Throws:
Exception - If the Program is not capable to transform DataElements.
See Also:
File2FileProgram.transformFile(java.io.File, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType, java.lang.String)


Copyright © 2013. All Rights Reserved.