org.sitemesh.content.debug
Class DumpingContentProcessor
java.lang.Object
org.sitemesh.content.debug.DumpingContentProcessor
- All Implemented Interfaces:
- ContentProcessor
public class DumpingContentProcessor
- extends Object
- implements ContentProcessor
Decorates a ContentProcessor and will dump the contents of each Content that is created to
an output stream. Useful for debugging.
- Author:
- Joe Walnes
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DumpingContentProcessor
public DumpingContentProcessor(ContentProcessor contentProcessor,
Appendable debugOut)
build
public Content build(CharBuffer data,
SiteMeshContext context)
throws IOException
- Specified by:
build in interface ContentProcessor
- Throws:
IOException
dump
public static void dump(Content content,
Appendable out)
throws IOException
- Throws:
IOException
dump
public static String dump(Content content)
getFullPath
public static String getFullPath(ContentProperty contentProperty)
Copyright © 2011. All Rights Reserved.