com.atlassian.renderer.util
Class RendererUtil
java.lang.Object
com.atlassian.renderer.util.RendererUtil
public class RendererUtil
- extends Object
Some simple methods that the renderer uses.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RendererUtil
public RendererUtil()
summarise
public static String summarise(String content)
- Strips basic wiki markup from the content passed in
and truncates string to 50 chars.
- Parameters:
content
- wiki marked up content
- Returns:
- first 255 chars of the stripped content
stripBasicMarkup
public static String stripBasicMarkup(String content)
- Strip basic markup characters from a piece of content
summariseWithoutStrippingWikiCharacters
public static String summariseWithoutStrippingWikiCharacters(String content)