org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl
Class PathDataSource

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.PathDataSource
All Implemented Interfaces:
org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource

public class PathDataSource
extends Object
implements org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource, org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource

Author:
Dimitris Katris, NKUA


Constructor Summary
PathDataSource(String input, org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 void initializeDistributableDataSource(String input, org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters)
           
 boolean isClosed()
           
static void main(String[] args)
           
 org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement next()
           
 org.gcube.datatransformation.datatransformationlibrary.model.ContentType nextContentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathDataSource

public PathDataSource(String input,
                      org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters)
               throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

isClosed

public boolean isClosed()
Specified by:
isClosed in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler

hasNext

public boolean hasNext()
Specified by:
hasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource
Specified by:
hasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource

next

public org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement next()
Specified by:
next in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource

initializeDistributableDataSource

public void initializeDistributableDataSource(String input,
                                              org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters)
                                       throws Exception
Throws:
Exception

close

public void close()
Specified by:
close in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandler

nextContentType

public org.gcube.datatransformation.datatransformationlibrary.model.ContentType nextContentType()
Specified by:
nextContentType in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource


Copyright © 2012. All Rights Reserved.