|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.content.render.xhtml.storage.DefaultSummariser
public class DefaultSummariser
This default implementation is a front for various existing util classes in Confluence.
| Constructor Summary | |
|---|---|
DefaultSummariser()
|
|
| Method Summary | |
|---|---|
java.lang.String |
summarise(java.lang.String xhtml)
Make use of various existing Confluence utilities to summarise the supplied XHTML. |
java.lang.String |
summarise(java.lang.String xhtml,
int maxLength,
boolean ellipses)
Like Summariser.summarise(String) but provides more control over the summary process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSummariser()
| Method Detail |
|---|
public java.lang.String summarise(java.lang.String xhtml)
summarise in interface Summariserxhtml - the content to be summarised.
public java.lang.String summarise(java.lang.String xhtml,
int maxLength,
boolean ellipses)
SummariserSummariser.summarise(String) but provides more control over the summary process.
summarise in interface Summariserxhtml - the content to be summarised.maxLength - the maximum length of String to returnellipses - if true then truncated text will be ended with '...'.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||