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(InputStream inputStream,
OutputStream outputStream)
Transform the given
InputStream and write it to the given OutputStream. |
abstract String |
transform(String input) |
public void transform(InputStream inputStream, OutputStream outputStream) throws IOException
TransformerInputStream and write it to the given OutputStream.transform in interface TransformerIOExceptionCopyright © 2013 OCPsoft. All Rights Reserved.