public abstract class LogRecordContent extends PrefilteredContent
Constructor and Description |
---|
LogRecordContent(String name) |
LogRecordContent(String name,
String... filterableParameters) |
Modifier and Type | Method and Description |
---|---|
abstract Iterable<LogRecord> |
getLogRecords()
Iterates
LogRecord s to be printed as this content. |
protected void |
printTo(PrintWriter out) |
protected 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 LogRecordContent(String name)
public abstract Iterable<LogRecord> getLogRecords() throws IOException
LogRecord
s to be printed as this content.LogRecord
s to be printed as this content.IOException
- if an error occurs while performing the operation.Lists.reverse(List)
public final void writeTo(OutputStream os) throws IOException
writeTo
in class Content
IOException
public final 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 void printTo(PrintWriter out, ContentFilter filter) throws IOException
IOException
Copyright © 2016–2022. All rights reserved.