|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.i18n.DocumentationLink
public final class DocumentationLink
A user interface documentation link consisting of a key.
Typically, messages will be presented to the user by looking up their value in a properties file (or "bundle"), and applyingDocumentationBean.getLink(String)
to the value. However, this class
does not stipulate how the values held by this object might be used.
This class is immutable and thread-safe.
Method Summary | |
---|---|
static DocumentationLink |
getInstance(java.lang.String key)
Constructs and returns an instance of a documentation url with the given key. |
java.lang.String |
getKey()
Returns the key, used for looking up the documentation url in a localisation bundle. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static DocumentationLink getInstance(java.lang.String key)
key
- the i18n message key
public java.lang.String getKey()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |