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

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

public class TextToFtsRowset_Transformer
extends org.gcube.datatransformation.datatransformationlibrary.programs.Elm2ElmProgram

Author:
Dimitris Katris, NKUA

Program creating full text rowsets from plain text files.


Constructor Summary
TextToFtsRowset_Transformer()
           
 
Method Summary
static void main(String[] args)
          A simple test.
 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
 

Constructor Detail

TextToFtsRowset_Transformer

public TextToFtsRowset_Transformer()
Method Detail

main

public static void main(String[] args)
                 throws Exception
A simple test.

Parameters:
args - The arguments
Throws:
Exception - If the test could not be performed.

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 source DataElement.
programParameters - The parameters of the Program.
targetContentType - The ContentType in which the DataElement will be transformed.
Returns:
The transformed DataElement.
Throws:
Exception - If the Program is not capable to transform DataElements.
See Also:
Elm2ElmProgram.transformDataElement(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType)


Copyright © 2013. All Rights Reserved.