public abstract class StringTransformer extends java.lang.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,
java.io.InputStream inputStream,
java.io.OutputStream outputStream)
Transposition the given
InputStream and write it to the given OutputStream. |
abstract java.lang.String |
transform(HttpServletRewrite event,
java.lang.String input) |
public abstract java.lang.String transform(HttpServletRewrite event, java.lang.String input)
public void transform(HttpServletRewrite event, java.io.InputStream inputStream, java.io.OutputStream outputStream) throws java.io.IOException
TransformerInputStream and write it to the given OutputStream.transform in interface Transformerjava.io.IOExceptionCopyright © 2014 OCPsoft. All Rights Reserved.