org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl
Class FilterDataBridge
java.lang.Object
org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.REFDataBridge
org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.FilterDataBridge
- All Implemented Interfaces:
- ContentTypeDataSource, DataBridge, DataHandler, DataSink, DataSource
public class FilterDataBridge
- extends REFDataBridge
- Author:
- Dimitris Katris, NKUA
DataBridge which filters the DataElements that are appended to it depending their ContentType.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
protected DataSource source
- The source from which the FilterDataBridge retrieves
DataElements.
filterContentType
protected ContentType filterContentType
- The ContentType with which the FilterDataBridge checks the elements of the source
DataSource.
FilterDataBridge
public FilterDataBridge(DataSource source,
ContentType filterContentType)
throws Exception
- Creates a new FilterDataBridge.
- Parameters:
source - The source from which the FilterDataBridge retrieves DataElements.filterContentType - The ContentType with which the FilterDataBridge checks the elements of the source DataSource.
- Throws:
Exception - If source or filterContentType are not properly set.
Copyright © 2013. All Rights Reserved.