|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.renderer.filter.wiki.link.LinkUtils
public class LinkUtils
Utility class with methods for validating and parsing links.
| Method Summary | |
|---|---|
static boolean |
isNotEvil(java.lang.String url)
|
static Link |
parseLink(java.lang.String str,
int startOffset,
java.util.List allowedSchemes)
The following link syntaxes are supported: f- forum link t- thread link m- message link | link has link text/tooltip ^ attachment link # anchor link ~ profile link @ email link Rules: You can append anchors to most links with the exception of attachment links and email links. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isNotEvil(java.lang.String url)
public static Link parseLink(java.lang.String str,
int startOffset,
java.util.List allowedSchemes)
str - the string to parseallowedSchemes - a list of allowed schemes
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||