org.kefirsf.bb
Class TextProcessorAdapter
java.lang.Object
org.kefirsf.bb.TextProcessorAdapter
- All Implemented Interfaces:
- TextProcessor
- Direct Known Subclasses:
- BBProcessor, EscapeProcessor, TextProcessorChain
public abstract class TextProcessorAdapter
- extends Object
- implements TextProcessor
Text Processor adapter implement methods for String, StringBuffer, StringBuilder
- Author:
- Vitaliy Samolovskih aka Kefir
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextProcessorAdapter
public TextProcessorAdapter()
process
public String process(String source)
- Process the text
- Specified by:
process in interface TextProcessor
- Parameters:
source - the sourcetext
- Returns:
- the result of text processing
process
public StringBuilder process(StringBuilder source)
- Process the text
- Specified by:
process in interface TextProcessor
- Parameters:
source - the sourcetext
- Returns:
- the result of text processing
process
public StringBuffer process(StringBuffer source)
- Process the text
- Specified by:
process in interface TextProcessor
- Parameters:
source - the sourcetext
- Returns:
- the result of text processing
Copyright © 2013. All Rights Reserved.