Package com.e1c.langtool.v8.dt.collector
Class V8FileFeatureCollectorFactory
java.lang.Object
com.e1c.langtool.v8.dt.collector.V8FileFeatureCollectorFactory
- All Implemented Interfaces:
FeatureCollectorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCollectors(Object object, ICollectingParameters parameters, BiConsumer<Object, FeatureValue> addAction) Creates a new set ofIFeatureCollectorobjects.booleanChecks if given object is support by factory and can create collector.
-
Constructor Details
-
V8FileFeatureCollectorFactory
public V8FileFeatureCollectorFactory()
-
-
Method Details
-
isSupport
Description copied from interface:FeatureCollectorFactoryChecks if given object is support by factory and can create collector.- Specified by:
isSupportin interfaceFeatureCollectorFactory- Parameters:
object- the object to check- Returns:
- true, if the object is support
-
createCollectors
public Set<FeatureValueCollector> createCollectors(Object object, ICollectingParameters parameters, BiConsumer<Object, FeatureValue> addAction) Description copied from interface:FeatureCollectorFactoryCreates a new set ofIFeatureCollectorobjects.- Specified by:
createCollectorsin interfaceFeatureCollectorFactory- Parameters:
object- the object- Returns:
- the features collector, can return
null.
-