org.kefirsf.bb
Class TextProcessorAdapter

java.lang.Object
  extended by 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

Constructor Summary
TextProcessorAdapter()
           
 
Method Summary
 String process(String source)
          Process the text
 StringBuffer process(StringBuffer source)
          Process the text
 StringBuilder process(StringBuilder source)
          Process the text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kefirsf.bb.TextProcessor
process
 

Constructor Detail

TextProcessorAdapter

public TextProcessorAdapter()
Method Detail

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.