|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.social.plugin.link.UILinkUtil
public final class UILinkUtil
Utility class for link composer plugin.
| Constructor Summary | |
|---|---|
UILinkUtil()
|
|
| Method Summary | |
|---|---|
static String |
encodeURI(String input)
Encode URI of text by UTF-8 Example: Input: https://google.com Output: https%3A%2F%2Fgoogle.com |
static boolean |
isImageLink(String link)
Checks if a provided link is am image link. |
static String |
simpleEscapeHtml(String input)
Simple escape HTML tags Example: Input: test Output: <a herf="abc.com">test</a> |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UILinkUtil()
| Method Detail |
|---|
public static boolean isImageLink(String link)
link - the provided link
public static String simpleEscapeHtml(String input)
input - The text input
public static String encodeURI(String input)
input -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||