public class TMDataSource extends Object implements org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource, org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource
DataSource fetches Trees from Tree Manager.| Constructor and Description |
|---|
TMDataSource(String input,
org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters)
This constructor for
TMDataSource |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
isClosed() |
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
next() |
org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
nextContentType() |
public TMDataSource(String input, org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters)
TMDataSourceinput - The input value of the DataSource.inputParameters - The output parameters of the DataSource.public void close()
close in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerDataHandler.close()public boolean isClosed()
isClosed in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerTReader has been closed. Otherwise false.DataHandler.isClosed()public org.gcube.datatransformation.datatransformationlibrary.model.ContentType nextContentType()
nextContentType in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourceContentTypeDataSource.nextContentType()public boolean hasNext()
hasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourcehasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourceDataSource.hasNext()Copyright © 2014. All Rights Reserved.