public interface ContentRewriter
source, transforms the content and writes to the sink.| Modifier and Type | Method and Description |
|---|---|
void |
rewrite(Source source,
Sink sink,
ContentRewritingContext context)
Reads content from the
source, transforms the content and writes to the sink. |
void rewrite(Source source, Sink sink, ContentRewritingContext context) throws ContentRewritingException, IOException
source, transforms the content and writes to the sink.source - source of contentsink - target of content rewrittencontext - content rewriting contextContentRewritingExceptionIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.