public abstract class StringTransformer extends Object implements Transformer
Transformer implementations that operate on strings. Please note that this classes assumes
UTF8 encoding when building the string representation of the InputStream and when writing the transformed
string to the OutputStream.| Constructor and Description |
|---|
StringTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
transform(HttpServletRewrite event,
InputStream inputStream,
OutputStream outputStream)
Transposition the given
InputStream and write it to the given OutputStream. |
abstract String |
transform(HttpServletRewrite event,
String input) |
public abstract String transform(HttpServletRewrite event, String input)
public void transform(HttpServletRewrite event, InputStream inputStream, OutputStream outputStream) throws IOException
TransformerInputStream and write it to the given OutputStream.transform in interface TransformerIOExceptionCopyright © 2013 OCPsoft. All Rights Reserved.