public abstract class PrefilteredPrintedContent extends PrefilteredContent
Constructor and Description |
---|
PrefilteredPrintedContent(String name) |
PrefilteredPrintedContent(String name,
String... filterableParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
printTo(PrintWriter out) |
protected abstract void |
printTo(PrintWriter out,
ContentFilter filter) |
void |
writeTo(OutputStream os) |
void |
writeTo(OutputStream os,
ContentFilter filter)
Write the component in the bundle filtering the content
|
shouldBeFiltered
getFilterableParameters, getName, getTime
public PrefilteredPrintedContent(String name)
public final void writeTo(OutputStream os) throws IOException
writeTo
in class Content
IOException
public void writeTo(OutputStream os, ContentFilter filter) throws IOException
PrefilteredContent
writeTo
in class PrefilteredContent
os
- OutputStream where write the contentfilter
- ContentFilter to applyIOException
- If an input or output exception occursprotected void printTo(PrintWriter out) throws IOException
IOException
protected abstract void printTo(PrintWriter out, ContentFilter filter) throws IOException
IOException
Copyright © 2016–2022. All rights reserved.