Package org.intermine.api
Class LinkRedirectManager
- java.lang.Object
-
- org.intermine.api.LinkRedirectManager
-
public class LinkRedirectManager extends java.lang.Object
Class to manage external links.- Author:
- Julie Sullivan
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ATTR_MARKER_RE
protected java.util.Properties
webProperties
-
Constructor Summary
Constructors Constructor Description LinkRedirectManager(java.util.Properties webProperties)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateLink(InterMineAPI im, InterMineObject imo)
-
-
-
Field Detail
-
webProperties
protected java.util.Properties webProperties
-
ATTR_MARKER_RE
protected static final java.lang.String ATTR_MARKER_RE
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateLink
public java.lang.String generateLink(InterMineAPI im, InterMineObject imo)
- Parameters:
imo
- InterMineObject to generate linkim
- intermine API object to retrieve model- Returns:
- URL to link to
-
-