org.janux.bus.processor
Interface StringProcessor

All Superinterfaces:
Processor
All Known Implementing Classes:
StringProcessorAbstract

public interface StringProcessor
extends Processor

Base interface to represent any sort of class that takes a String as input and returns a String as output; mostly used to define classes that perform transformations to String messages, or to satisfy any part of a Request/Response process or other messaging process that uses String Messages. Derived classes that extend StringProcessorAbstract, only need to implement the process(String) as that class provides a convenience implementation of Processor.process(InputStream, OutputStream) that turns the 'in' InputStream into a String, calls StringProcessorAbstract.process(String), and pipes the String returned to the 'out' OutputStream.

Since:
version 0.2.03 - Jun 20, 2007
Author:
Philippe Paravicini
See Also:
StringProcessorAbstract

Method Summary
 String process(String in)
           
 
Methods inherited from interface org.janux.bus.processor.Processor
process
 

Method Detail

process

String process(String in)


Copyright © 2005-2013 Janux. All Rights Reserved.