public abstract class PrefilteredContent extends Content
Modifier | Constructor and Description |
---|---|
protected |
PrefilteredContent(String name) |
protected |
PrefilteredContent(String name,
String... filterableParameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldBeFiltered()
Indicates if this Content should be filtered when anonymization is enabled.
|
abstract void |
writeTo(OutputStream os,
ContentFilter filter)
Write the component in the bundle filtering the content
|
getFilterableParameters, getName, getTime, writeTo
protected PrefilteredContent(String name)
public abstract void writeTo(OutputStream os, ContentFilter filter) throws IOException
os
- OutputStream where write the contentfilter
- ContentFilter to applyIOException
- If an input or output exception occurspublic final boolean shouldBeFiltered()
Content
true
, the contents written via
Content.writeTo(OutputStream)
may be filtered by a ContentFilter
.
When false
, the contents are written without any filtering applied.shouldBeFiltered
in class Content
Copyright © 2016–2022. All rights reserved.