public abstract class HTMLLayoutBase<E> extends LayoutBase<E>
| Modifier and Type | Field and Description |
|---|---|
protected long |
counter |
protected CssBuilder |
cssBuilder |
protected Converter<E> |
head |
protected String |
pattern |
protected String |
title |
startedcontext| Constructor and Description |
|---|
HTMLLayoutBase() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeConverterName(Converter c) |
String |
getContentType()
Returns the content type output by this layout, i.e "text/html".
|
CssBuilder |
getCssBuilder() |
protected abstract Map<String,String> |
getDefaultConverterMap() |
Map<String,String> |
getEffectiveConverterMap()
Returns a map where the default converter map is merged with the map
contained in the context.
|
String |
getFileFooter()
Returns the appropriate HTML footers.
|
String |
getFileHeader()
Returns appropriate HTML headers.
|
String |
getPattern()
Returns the value of the ConversionPattern option.
|
String |
getPresentationFooter()
Return the footer of the logging event formatting.
|
String |
getPresentationHeader()
Return the header of the logging event formatting.
|
String |
getTitle()
Returns the current value of the Title option.
|
void |
setCssBuilder(CssBuilder cssBuilder) |
void |
setPattern(String conversionPattern)
Set the ConversionPattern option.
|
void |
setTitle(String title)
The Title option takes a String value.
|
void |
start()
Parses the pattern and creates the Converter linked list.
|
protected void |
startNewTableIfLimitReached(StringBuilder sbuf) |
getContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerprotected String pattern
protected String title
protected CssBuilder cssBuilder
protected long counter
public void setPattern(String conversionPattern)
public String getPattern()
public CssBuilder getCssBuilder()
public void setCssBuilder(CssBuilder cssBuilder)
public void start()
start in interface LifeCyclestart in class LayoutBase<E>public Map<String,String> getEffectiveConverterMap()
public void setTitle(String title)
Defaults to 'Logback Log Messages'.
public String getTitle()
public String getContentType()
getContentType in interface Layout<E>getContentType in class LayoutBase<E>public String getFileHeader()
getFileHeader in interface Layout<E>getFileHeader in class LayoutBase<E>public String getPresentationHeader()
LayoutgetPresentationHeader in interface Layout<E>getPresentationHeader in class LayoutBase<E>public String getPresentationFooter()
LayoutgetPresentationFooter in interface Layout<E>getPresentationFooter in class LayoutBase<E>public String getFileFooter()
getFileFooter in interface Layout<E>getFileFooter in class LayoutBase<E>protected void startNewTableIfLimitReached(StringBuilder sbuf)
Copyright © 2005–2021 QOS.ch. All rights reserved.