public class DefaultSummariser extends Object implements Summariser
| Constructor and Description |
|---|
DefaultSummariser() |
| Modifier and Type | Method and Description |
|---|---|
String |
summarise(String xhtml)
Make use of various existing Confluence utilities to summarise the supplied XHTML.
|
String |
summarise(String xhtml,
int maxLength,
boolean ellipses)
Like
Summariser.summarise(String) but provides more control over the summary process. |
public String summarise(String xhtml)
summarise in interface Summariserxhtml - the content to be summarised.public String summarise(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 '...'.Copyright © 2003–2018 Atlassian. All rights reserved.