public interface ContentsTransformer
InputStream and writes bytes to an
OutputStream.| Modifier and Type | Method and Description |
|---|---|
void |
transform(java.lang.String path,
java.io.InputStream is,
java.io.OutputStream os)
Reads bytes from
is (typically until end-of-input) and writes bytes to os. |
void transform(java.lang.String path,
java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException
is (typically until end-of-input) and writes bytes to os. Closes neither of the
two streams.path - Designates the contents that is transformedjava.io.IOException