org.gcube.datatransformation.datatransformationlibrary.programs.metadata.indexfeed
Class FwRowset_Transformer

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.programs.metadata.indexfeed.FwRowset_Transformer
All Implemented Interfaces:
org.gcube.datatransformation.datatransformationlibrary.programs.Program

public class FwRowset_Transformer
extends Object
implements org.gcube.datatransformation.datatransformationlibrary.programs.Program

Author:
Dimitris Katris, NKUA

Creates forward rowsets.


Constructor Summary
FwRowset_Transformer()
           
 
Method Summary
protected static String isToString(InputStream instream)
           
 void transform(List<org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource> sources, List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters, org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FwRowset_Transformer

public FwRowset_Transformer()
Method Detail

transform

public void transform(List<org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource> sources,
                      List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters,
                      org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType,
                      org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
               throws Exception
Specified by:
transform in interface org.gcube.datatransformation.datatransformationlibrary.programs.Program
Parameters:
sources - The DataSources from which the Program will get the DataElements.
programParameters - The parameters of the Program which are primarily set by the TransformationUnit.
targetContentType - The ContentType in which the source data will be transformed.
sink - The DataSink in which the Program will append the transformed DataElements.
Throws:
Exception - If the program is not capable to transform DataElements.
See Also:
Program.transform(java.util.List, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink)

isToString

protected static String isToString(InputStream instream)
                            throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.