Package com.atlassian.confluence.mail
Class DefaultMailContentProcessor
- java.lang.Object
 - 
- com.atlassian.confluence.mail.DefaultMailContentProcessor
 
 
- 
- All Implemented Interfaces:
 MailContentProcessor
public class DefaultMailContentProcessor extends Object implements MailContentProcessor
Delegates to a list of other MailContentProcessor implementations.- Since:
 - 4.2
 
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultMailContentProcessor(List<MailContentProcessor> delegates) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringprocess(String input)Take the supplied input data and process it in some fashion, returning the result. 
 - 
 
- 
- 
Constructor Detail
- 
DefaultMailContentProcessor
public DefaultMailContentProcessor(List<MailContentProcessor> delegates)
 
 - 
 
- 
Method Detail
- 
process
public String process(String input)
Description copied from interface:MailContentProcessorTake the supplied input data and process it in some fashion, returning the result. If the processing fails then input should be returned as the result.- Specified by:
 processin interfaceMailContentProcessor- Parameters:
 input- the content to be processed.- Returns:
 - the processed version of the content or the same content if processing failed.
 
 
 - 
 
 -