public final class ExtensionFactory extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Extension> |
getExtension(Properties properties,
Parameter<String> parameter,
Driver d)
Get an extension as configured in properties.
|
static <T extends Extension> |
getExtensions(Properties properties,
Parameter<Collection<String>> parameter,
Driver d)
Get an extension list, as defined in the properties (comma-separated list).
|
public static <T extends Extension> T getExtension(Properties properties, Parameter<String> parameter, Driver d)
T
- class which extends Extension class which extends Extensionproperties
- propertiesparameter
- the class name parameterd
- driverExtension
or null.public static <T extends Extension> List<T> getExtensions(Properties properties, Parameter<Collection<String>> parameter, Driver d)
properties
- parameter
- d
- Copyright © 2008–2018. All rights reserved.