public class EntityLinkerFactory
extends java.lang.Object
| Constructor and Description |
|---|
EntityLinkerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static EntityLinker<?> |
getLinker(EntityLinkerProperties properties) |
static EntityLinker<?> |
getLinker(java.lang.String entityType,
EntityLinkerProperties properties) |
public static EntityLinker<?> getLinker(java.lang.String entityType, EntityLinkerProperties properties) throws java.io.IOException
entityType - The type of entity being linked to. This value is used to
retrieve the implementation of the entitylinker from the
entitylinker properties file.properties - An object that extends EntityLinkerProperties. This
object will be passed into the implemented EntityLinker
init(..) method, so it is an appropriate place to put
additional resources.java.io.IOExceptionpublic static EntityLinker<?> getLinker(EntityLinkerProperties properties) throws java.io.IOException
properties - An object that extends EntityLinkerProperties. This
object will be passed into the implemented EntityLinker
init(..) method, so it is an appropriate place to put
additional resources. In the properties file, the linker implementation must be
provided using "linker" as the properties key, and the
full class name as valuejava.io.IOExceptionCopyright © 2010 - 2019 Adobe. All Rights Reserved